core/state: remove unused methods ReturnGas, GetStorageProofByHash (#23092)

Co-authored-by: lidongwei <lidongwei@huobi.com>
This commit is contained in:
Li Dongwei
2021-06-25 20:34:09 +08:00
committed by GitHub
parent c07918e7d8
commit bca8c03e57
4 changed files with 0 additions and 17 deletions

View File

@@ -450,9 +450,6 @@ func (s *stateObject) setBalance(amount *big.Int) {
s.data.Balance = amount
}
// Return the gas back to the origin. Used by the Virtual machine or Closures
func (s *stateObject) ReturnGas(gas *big.Int) {}
func (s *stateObject) deepCopy(db *StateDB) *stateObject {
stateObject := newObject(db, s.address, s.data)
if s.trie != nil {