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

Commit

Permalink
fix: multisig rune proof size
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Mar 30, 2023
1 parent 4658050 commit 3de9d12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion patterns/multisig/MultisigRune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export class MultisigRune<out C extends Chain, out U>
call,
otherSignatories: this.otherSignatories(sender),
storeCall: false,
maxWeight: call.feeEstimate().access("weight"),
maxWeight: call.feeEstimate().access("weight")
// TODO: revert when this is merged https://github.com/paritytech/substrate/pull/13766
.map((weight) => ({ ...weight, proofSize: weight.refTime * 2n })),
maybeTimepoint: this.maybeTimepoint(call.hash),
}),
})
Expand Down

0 comments on commit 3de9d12

Please sign in to comment.