mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
parent
c5e39dfabf
commit
1cf1fe5d74
32 changed files with 320 additions and 304 deletions
|
@ -622,6 +622,6 @@ func (c *Client) GetNativeContractHash(name string) (util.Uint160, error) {
|
|||
if err != nil {
|
||||
return util.Uint160{}, err
|
||||
}
|
||||
c.cache.nativeHashes[lowercasedName] = cs.ScriptHash()
|
||||
return cs.ScriptHash(), nil
|
||||
c.cache.nativeHashes[lowercasedName] = cs.Hash
|
||||
return cs.Hash, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue