Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix: virtual multisig
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Mar 9, 2023
1 parent dca6dd5 commit f79219e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions patterns/multisig/VirtualMultisigRune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,9 @@ export class VirtualMultisigRune<out U, out C extends Chain = Chain>
),
// TODO: ensure that this supports other address types / revisit source of deployer accountId
...memberProxies
.filter((_, i) => !equals(memberAccountIds[i]!, deployer.address.value!))
.flatMap((proxy, i) =>
.map((proxy, i) => [proxy, i] as const)
.filter(([_, i]) => !equals(memberAccountIds[i]!, deployer.address.value!))
.flatMap(([proxy, i]) =>
replaceDelegateCalls(
chain,
MultiAddress.Id(proxy),
Expand Down

0 comments on commit f79219e

Please sign in to comment.