mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
update glide
This commit is contained in:
@ -114,6 +114,8 @@ func TestRmBadTx(t *testing.T) {
|
||||
|
||||
// CounterApplication that maintains a mempool state and resets it upon commit
|
||||
type CounterApplication struct {
|
||||
abci.BaseApplication
|
||||
|
||||
txCount int
|
||||
mempoolTxCount int
|
||||
}
|
||||
@ -126,10 +128,6 @@ func (app *CounterApplication) Info() abci.ResponseInfo {
|
||||
return abci.ResponseInfo{Data: Fmt("txs:%v", app.txCount)}
|
||||
}
|
||||
|
||||
func (app *CounterApplication) SetOption(key string, value string) (log string) {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (app *CounterApplication) DeliverTx(tx []byte) abci.Result {
|
||||
return runTx(tx, &app.txCount)
|
||||
}
|
||||
@ -160,8 +158,3 @@ func (app *CounterApplication) Commit() abci.Result {
|
||||
return abci.NewResultOK(hash, "")
|
||||
}
|
||||
}
|
||||
|
||||
func (app *CounterApplication) Query(reqQuery abci.RequestQuery) (resQuery abci.ResponseQuery) {
|
||||
resQuery.Log = "Query is not supported"
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user