Skip to content

Commit dca93ce

Browse files
committed
fix(data_structures): set maximum weight of stake transaction in a block to 10_000
1 parent 47b711b commit dca93ce

File tree

1 file changed

+1
-1
lines changed
  • data_structures/src/chain

1 file changed

+1
-1
lines changed

data_structures/src/chain/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ impl ConsensusConstantsWit2 {
327327
/// Maximum weight units that a block can devote to `StakeTransaction`s.
328328
pub fn get_maximum_stake_block_weight(self, epoch: Epoch) -> u32 {
329329
if get_protocol_version(Some(epoch)) > ProtocolVersion::V1_7 {
330-
10_000_000
330+
10_000
331331
} else {
332332
0
333333
}

0 commit comments

Comments
 (0)