Move type conversion to presenter

This commit is contained in:
Matt Krump
2017-11-29 09:32:34 -06:00
parent b26bcf74e9
commit b2dfe1e486
7 changed files with 25 additions and 40 deletions
+1 -1
View File
@@ -6,5 +6,5 @@ type Blockchain interface {
StartListening()
StopListening()
GetContractAttributes(contractHash string) (ContractAttributes, error)
GetContractStateAttribute(contractHash string, attributeName string) (*string, error)
GetContractStateAttribute(contractHash string, attributeName string) (interface{}, error)
}