mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
core: retrieve contract hash by ID
We'll need this ability further to retrieve contracts hashes for Nep5Balances.
This commit is contained in:
parent
f24e707ea1
commit
dbd460d883
5 changed files with 38 additions and 1 deletions
|
@ -67,6 +67,9 @@ func (chain testChain) GetBlock(hash util.Uint256) (*block.Block, error) {
|
|||
func (chain testChain) GetContractState(hash util.Uint160) *state.Contract {
|
||||
panic("TODO")
|
||||
}
|
||||
func (chain testChain) GetContractScriptHash(id int32) (util.Uint160, error) {
|
||||
panic("TODO")
|
||||
}
|
||||
func (chain testChain) GetHeaderHash(int) util.Uint256 {
|
||||
return util.Uint256{}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue