core: fix storage.Delete price
This commit is contained in:
parent
0bca63b907
commit
5b18f5974f
2 changed files with 1 additions and 2 deletions
|
@ -69,7 +69,6 @@ func storageDelete(ic *interop.Context) error {
|
|||
if stc.ReadOnly {
|
||||
return errors.New("StorageContext is read only")
|
||||
}
|
||||
ic.VM.AddGas(ic.Chain.GetPolicer().GetStoragePrice())
|
||||
key := ic.VM.Estack().Pop().Bytes()
|
||||
return ic.DAO.DeleteStorageItem(stc.ID, key)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue