Skip to content

Commit ef8eb8c

Browse files
committed
evmc: Rename SuicideRefundGas -> SelfdestructRefundGas
1 parent 92c8dbb commit ef8eb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/vm/evmc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (host *hostContext) GetCode(addr common.Address) []byte {
184184
func (host *hostContext) Selfdestruct(addr common.Address, beneficiary common.Address) {
185185
db := host.env.StateDB
186186
if !db.HasSuicided(addr) {
187-
db.AddRefund(params.SuicideRefundGas)
187+
db.AddRefund(params.SelfdestructRefundGas)
188188
}
189189
db.AddBalance(beneficiary, db.GetBalance(addr))
190190
db.Suicide(addr)

0 commit comments

Comments
 (0)