mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
tmsp batch and some tests
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ func (appC *CounterAppContext) AppendTx(tx []byte) ([]types.Event, types.RetCode
|
||||
|
||||
func (appC *CounterAppContext) GetHash() ([]byte, types.RetCode) {
|
||||
hash := make([]byte, 32)
|
||||
binary.PutVarint(hash, int64(appC.hashCount))
|
||||
binary.PutVarint(hash, int64(appC.txCount))
|
||||
appC.hashCount += 1
|
||||
return hash, 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user