Add InitValidate method for setup

This commit is contained in:
Ethan Frey
2017-08-03 21:41:23 +02:00
parent 4b69f1d5ba
commit 37550ca91d
22 changed files with 164 additions and 39 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ type SimpleFeeMiddleware struct {
// all fees go here, which could be a dump (Bank) or something reachable
// by other app logic
Collector basecoin.Actor
stack.PassOption
stack.PassInitState
stack.PassInitValidate
}
var _ stack.Middleware = SimpleFeeMiddleware{}