We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c8dbb commit ef8eb8cCopy full SHA for ef8eb8c
core/vm/evmc.go
@@ -184,7 +184,7 @@ func (host *hostContext) GetCode(addr common.Address) []byte {
184
func (host *hostContext) Selfdestruct(addr common.Address, beneficiary common.Address) {
185
db := host.env.StateDB
186
if !db.HasSuicided(addr) {
187
- db.AddRefund(params.SuicideRefundGas)
+ db.AddRefund(params.SelfdestructRefundGas)
188
}
189
db.AddBalance(beneficiary, db.GetBalance(addr))
190
db.Suicide(addr)
0 commit comments