mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
fix test (#306)
This commit is contained in:
parent
29145a8b7d
commit
aa5757a84a
@ -1150,7 +1150,7 @@ func TestWrongIncarnation2(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if acc.Incarnation != state.NonContractIncarnation {
|
||||
t.Fatal("wrong incarnation")
|
||||
t.Fatal("wrong incarnation", acc.Incarnation)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -534,6 +534,7 @@ func (a *Account) DecodeForHashing(enc []byte) error {
|
||||
func (a *Account) DecodeForStorage(enc []byte) error {
|
||||
a.Initialised = true
|
||||
a.Nonce = 0
|
||||
a.Incarnation = 0
|
||||
a.Balance.SetInt64(0)
|
||||
a.Root = emptyRoot
|
||||
a.CodeHash = emptyCodeHash
|
||||
|
Loading…
Reference in New Issue
Block a user