We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d3e9e commit 494e241Copy full SHA for 494e241
crates/ethcore/src/engines/hbbft/test/mod.rs
@@ -98,7 +98,9 @@ fn test_staking_account_creation() {
98
.client
99
.block(BlockId::Number(3))
100
.expect("Block must exist");
101
- assert_eq!(block.transactions_count(), 1);
+
102
+ // block could already include KeyGenTransaction.
103
+ assert!(block.transactions_count() >= 1);
104
105
assert_ne!(
106
mining_by_staking_address(moc.client.as_ref(), &staker_1.address())
0 commit comments