mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
Remove retcode from echo; Add Info message
This commit is contained in:
@@ -43,8 +43,12 @@ func NewDummyApplication() *DummyApplication {
|
||||
}
|
||||
}
|
||||
|
||||
func (dapp *DummyApplication) Echo(message string) (types.RetCode, string) {
|
||||
return 0, message
|
||||
func (dapp *DummyApplication) Echo(message string) string {
|
||||
return message
|
||||
}
|
||||
|
||||
func (dapp *DummyApplication) Info() []string {
|
||||
return []string{Fmt("size:%v", dapp.state.Size())}
|
||||
}
|
||||
|
||||
func (dapp *DummyApplication) AppendTx(tx []byte) types.RetCode {
|
||||
|
Reference in New Issue
Block a user