Fix proof-of-possession issues.

These were introduced in an earlier commit
This commit is contained in:
Paul Hauner
2019-03-11 19:47:33 +11:00
parent 292991810d
commit e81f1c31c9
6 changed files with 41 additions and 23 deletions

View File

@@ -140,7 +140,7 @@ fn build_block(state: &mut BeaconState, keypairs: &[Keypair], spec: &ChainSpec)
// Insert the maximum possible number of `Deposit` objects.
for i in 0..spec.max_deposits {
builder.insert_deposit(32_000_000_000, state.deposit_index + i, spec);
builder.insert_deposit(32_000_000_000, state.deposit_index + i, state, spec);
}
// Insert the maximum possible number of `Exit` objects.