mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
fix compressed deps
This commit is contained in:
parent
8a68715fce
commit
42959d8fc7
@ -131,8 +131,9 @@ export default class ServiceAgreementTemplate extends OceanBase {
|
||||
const mappedDependencyTimeoutFlags: number[] = []
|
||||
|
||||
this.template.Methods.forEach((m, i) => {
|
||||
mappedDependencies.push(dependencies.findIndex((d) => d === m.name) > -1 ? i : 0)
|
||||
mappedDependencyTimeoutFlags.push(dependencyTimeoutFlags[i] ? dependencyTimeoutFlags[i] : 0)
|
||||
const di = dependencies.findIndex((d) => d === m.name)
|
||||
mappedDependencies.push(di > -1 ? 1 : 0)
|
||||
mappedDependencyTimeoutFlags.push(dependencyTimeoutFlags[i] ? 1 : 0)
|
||||
})
|
||||
|
||||
Logger.log("========================")
|
||||
|
Loading…
Reference in New Issue
Block a user