Proof uses uint64 for blockHeight

This commit is contained in:
Ethan Frey
2017-01-17 17:22:34 +01:00
parent e0309007ad
commit fdc047ae7a
14 changed files with 193 additions and 194 deletions

View File

@ -54,7 +54,7 @@ func (app *DummyApplication) Query(query []byte) types.Result {
return types.NewResultOK(wire.JSONBytes(queryResult), "")
}
func (app *DummyApplication) Proof(key []byte, blockHeight int64) types.Result {
func (app *DummyApplication) Proof(key []byte, blockHeight uint64) types.Result {
// TODO: when go-merkle supports querying older blocks without possible panics,
// we should store a cache and allow a query. But for now it is impossible.
// And this is just a Dummy application anyway, what do you expect? ;)