Modify AnteHandler to take a simulate boolean parameter
This commit is contained in:
+1
-1
@@ -5,4 +5,4 @@ type Handler func(ctx Context, msg Msg) Result
|
||||
|
||||
// AnteHandler authenticates transactions, before their internal messages are handled.
|
||||
// If newCtx.IsZero(), ctx is used instead.
|
||||
type AnteHandler func(ctx Context, tx Tx) (newCtx Context, result Result, abort bool)
|
||||
type AnteHandler func(ctx Context, tx Tx, simulate bool) (newCtx Context, result Result, abort bool)
|
||||
|
||||
Reference in New Issue
Block a user