removed wrong balance
This commit is contained in:
parent
e80c39b1ed
commit
6a7bfe9b34
|
@ -47,8 +47,6 @@ def test_apply_pending_deposit_increases_balance(spec, state):
|
||||||
amount=amount,
|
amount=amount,
|
||||||
slot=spec.GENESIS_SLOT
|
slot=spec.GENESIS_SLOT
|
||||||
)
|
)
|
||||||
# reset the balance
|
|
||||||
state.balances[0] = 0
|
|
||||||
# run test
|
# run test
|
||||||
spec.apply_pending_deposit(state, deposit)
|
spec.apply_pending_deposit(state, deposit)
|
||||||
assert state.balances[0] == amount
|
assert state.balances[0] == amount
|
||||||
|
@ -87,6 +85,7 @@ def test_apply_pending_deposit_switch_to_compounding(spec, state):
|
||||||
slot=spec.GENESIS_SLOT,
|
slot=spec.GENESIS_SLOT,
|
||||||
signature=deposit_data.signature,
|
signature=deposit_data.signature,
|
||||||
)
|
)
|
||||||
|
state.balances[index] = 0
|
||||||
# run test
|
# run test
|
||||||
spec.apply_pending_deposit(state, deposit)
|
spec.apply_pending_deposit(state, deposit)
|
||||||
# validator balance should increase
|
# validator balance should increase
|
||||||
|
|
Loading…
Reference in New Issue