core: retrieve contract hash by ID

We'll need this ability further to retrieve contracts hashes for Nep5Balances.
This commit is contained in:
Anna Shaleva 2020-07-28 16:36:47 +03:00
parent f24e707ea1
commit dbd460d883
5 changed files with 38 additions and 1 deletions

View file

@ -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{}
}