Fix SetAdmin #39

Merged
acid-ant merged 1 commit from acid-ant/policy-engine:bugfix/fix-setadmin into master 2023-12-21 08:02:39 +00:00
Showing only changes of commit b82544b0fe - Show all commits

View file

@ -108,9 +108,8 @@ func (s *ContractStorage) GetAdmin() (util.Uint160, error) {
return s.contractInterface.GetAdmin()
}
func (s *ContractStorage) SetAdmin(addr util.Uint160) error {
_, _, err := s.contractInterface.SetAdmin(addr)
return err
func (s *ContractStorage) SetAdmin(addr util.Uint160) (util.Uint256, uint32, error) {
return s.contractInterface.SetAdmin(addr)
}
func bytesFromStackItem(param stackitem.Item) ([]byte, error) {