Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Jul 13, 2023
1 parent c65a448 commit d4b4e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions squid/src/util/getProxyInfoFromArgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export const getProxyInfoFromArgs = ({ item, chainId, ctx, isAdded }: Params) =>

const event = isAdded && new ProxyProxyAddedEvent(ctx, item.event)
if (event && event.isV504) {
[delegator, delegatee, proxyType, delay] = event.asV504
;[delegator, delegatee, proxyType, delay] = event.asV504
} else {
({ delegator, delegatee, proxyType, delay } = item.event.args)
;({ delegator, delegatee, proxyType, delay } = item.event.args)
}

const _delegator = encodeAddress(delegator, env.prefix)
Expand Down

0 comments on commit d4b4e2c

Please sign in to comment.