mirror of https://github.com/poanetwork/quorum.git
Update gas table to make use of the dual state db
This commit is contained in:
parent
f25cdca033
commit
8470793052
|
@ -405,6 +405,7 @@ func gasSuicide(gt params.GasTable, evm *EVM, contract *Contract, stack *Stack,
|
|||
}
|
||||
}
|
||||
|
||||
db = getDualState(evm, contract.Address())
|
||||
if !db.HasSuicided(contract.Address()) {
|
||||
db.AddRefund(params.SuicideRefundGas)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue