Query returns Code

This commit is contained in:
Jae Kwon
2016-01-31 18:11:24 -08:00
parent e110a04ae2
commit 028cc4aa06
6 changed files with 14 additions and 11 deletions

View File

@ -18,5 +18,5 @@ type Application interface {
GetHash() (hash []byte, log string)
// Query for state
Query(query []byte) (result []byte, log string)
Query(query []byte) (code RetCode, result []byte, log string)
}