From 3910f871dd5c3acb3c9b305abafd570f7106ebd4 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Thu, 5 May 2016 13:58:10 -0700 Subject: [PATCH] Trivial --- types/application.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/application.go b/types/application.go index 0d793d77e..65ca9ab01 100644 --- a/types/application.go +++ b/types/application.go @@ -15,11 +15,11 @@ type Application interface { // Validate a tx for the mempool CheckTx(tx []byte) Result - // Return the application Merkle root hash - Commit() Result - // Query for state Query(query []byte) Result + + // Return the application Merkle root hash + Commit() Result } // Some applications can choose to implement BlockchainAware @@ -33,6 +33,6 @@ type BlockchainAware interface { BeginBlock(height uint64) // Signals the end of a block - // validators: changed validators from app to TendermintCore - EndBlock(height uint64) (validators []*Validator) + // diffs: changed validators from app to TendermintCore + EndBlock(height uint64) (diffs []*Validator) }