Add tx to feeHandler, move around in example apps

This commit is contained in:
Christopher Goes
2018-04-16 14:58:19 +02:00
parent 39ee95abe4
commit 3bbb15f454
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ package types
type Handler func(ctx Context, msg Msg) Result
// core function variable which application runs to handle fees
type FeeHandler func(ctx Context, fee Coins)
type FeeHandler func(ctx Context, tx Tx, fee Coins)
// If newCtx.IsZero(), ctx is used instead.
type AnteHandler func(ctx Context, tx Tx) (newCtx Context, result Result, abort bool)