Skip to content

Commit 0d7293f

Browse files
jpurijiexi
andauthored
Update app/core/RPCMethods/eip5792.ts
Co-authored-by: jiexi <[email protected]>
1 parent a13a665 commit 0d7293f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/core/RPCMethods/eip5792.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,7 @@ export async function getCapabilities(address: Hex, chainIds?: Hex[]) {
238238
});
239239
return batchSupport.reduce<GetCapabilitiesResult>(
240240
(acc, chainBatchSupport) => {
241-
const { chainId } = chainBatchSupport;
242-
const { delegationAddress, isSupported, upgradeContractAddress } =
241+
const { chainId, delegationAddress, isSupported, upgradeContractAddress } =
243242
chainBatchSupport;
244243
const canUpgrade = upgradeContractAddress && !delegationAddress;
245244
if (!isSupported && !canUpgrade) {

0 commit comments

Comments
 (0)