Implemented rcp method GetAccountState (#124)

* Implemented rcp method GetAccountState

* code clean up

* Removed empty line

* Used consistently github.com/pkg/errors package. Amended error message

* Get rid of fmt.Sprintf and use either errors.Errorf or errors.Wrapf

* cosmetic changes
This commit is contained in:
dauTT 2019-02-08 09:04:38 +01:00 committed by fabwa
parent a5e2df6942
commit 7e43717657
6 changed files with 105 additions and 23 deletions

View file

@ -18,4 +18,5 @@ type Blockchainer interface {
HasBlock(util.Uint256) bool
HasTransaction(util.Uint256) bool
GetAssetState(util.Uint256) *AssetState
GetAccountState(util.Uint160) *AccountState
}