Skip to content

Commit b0ce49d

Browse files
authored
add muln(2), as was in the old code (#5829)
1 parent 95798b4 commit b0ce49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api-derive/src/tx/signingInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function babeOrAuraPeriod (api: DeriveApi): BN | undefined {
7474
const period = api.consts.babe?.expectedBlockTime ||
7575
// this will be present ones https://github.com/paritytech/polkadot-sdk/pull/3732 is merged
7676
(api.consts['aura'] as unknown as Aura)?.slotDuration ||
77-
api.consts.timestamp?.minimumPeriod;
77+
api.consts.timestamp?.minimumPeriod.muln(2);
7878

7979
return !period.isZero() ? period : undefined;
8080
}

0 commit comments

Comments
 (0)