Skip to content

Commit

Permalink
revert removal of UpdateAccountCode
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Feb 9, 2021
1 parent b735752 commit 2c2db26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ func (i *emptyRuntimeInterface) RemoveAccountKey(_ Address, _ int) (publicKey []
return nil, nil
}

func (i *emptyRuntimeInterface) UpdateAccountCode(_ Address, _ []byte) error {
return nil
}

func (i *emptyRuntimeInterface) UpdateAccountContractCode(_ Address, _ string, _ []byte) (err error) {
return nil
}
Expand Down

0 comments on commit 2c2db26

Please sign in to comment.