aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-09-16 23:46:18 -0400
committerDeterminant <[email protected]>2020-09-16 23:46:18 -0400
commit3ddf58c70d33f85c9d3521f34e4c3fba0deca1e3 (patch)
tree98adc61bae7d04cde510c52b07c2e9e87d8c866b
parentc5615034cf0991b55ca626ff052d2bb02049f9e3 (diff)
add the missing IsMultiCoin assignment
-rw-r--r--core/state/statedb.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/state/statedb.go b/core/state/statedb.go
index b472bd7..81be542 100644
--- a/core/state/statedb.go
+++ b/core/state/statedb.go
@@ -579,10 +579,11 @@ func (s *StateDB) getDeletedStateObject(addr common.Address) *stateObject {
return nil
}
data = &Account{
- Nonce: acc.Nonce,
- Balance: acc.Balance,
- CodeHash: acc.CodeHash,
- Root: common.BytesToHash(acc.Root),
+ Nonce: acc.Nonce,
+ Balance: acc.Balance,
+ CodeHash: acc.CodeHash,
+ IsMultiCoin: acc.IsMultiCoin,
+ Root: common.BytesToHash(acc.Root),
}
if len(data.CodeHash) == 0 {
data.CodeHash = emptyCodeHash