Skip to content

Commit

Permalink
fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sirarthurmoney committed Dec 13, 2023
1 parent 97b9b9f commit f5d2623
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/protocol-utils-evm/src/endpoint/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,10 @@ export class Endpoint extends OmniSDK implements IEndpoint {
return { maxMessageSize, executor }
} else {
const encodedUlnBytes = await this.contract.contract.getConfig(oapp, lib, eid, configType)
const [
confirmations,
requiredDVNCount,
optionalDVNCount,
optionalDVNThreshold,
requiredDVNs,
optionalDVNs,
] = defaultAbiCoder.decode(['tuple(uint64,uint8,uint8,uint8,address[],address[])'], encodedUlnBytes)
const [confirmations, , , optionalDVNThreshold, requiredDVNs, optionalDVNs] = defaultAbiCoder.decode(
['tuple(uint64,uint8,uint8,uint8,address[],address[])'],
encodedUlnBytes
)
return { confirmations, optionalDVNThreshold, requiredDVNs, optionalDVNs }
}
}
Expand Down

0 comments on commit f5d2623

Please sign in to comment.