generated from TrueCloudLab/basic
Fix SetAdmin
#39
1 changed files with 2 additions and 3 deletions
|
@ -108,9 +108,8 @@ func (s *ContractStorage) GetAdmin() (util.Uint160, error) {
|
||||||
return s.contractInterface.GetAdmin()
|
return s.contractInterface.GetAdmin()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *ContractStorage) SetAdmin(addr util.Uint160) error {
|
func (s *ContractStorage) SetAdmin(addr util.Uint160) (util.Uint256, uint32, error) {
|
||||||
_, _, err := s.contractInterface.SetAdmin(addr)
|
return s.contractInterface.SetAdmin(addr)
|
||||||
return err
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func bytesFromStackItem(param stackitem.Item) ([]byte, error) {
|
func bytesFromStackItem(param stackitem.Item) ([]byte, error) {
|
||||||
|
|
Loading…
Reference in a new issue