Fee handler set by default, tested app level

This commit is contained in:
Ethan Frey
2017-07-12 20:38:54 +02:00
parent 454227393b
commit 36a453ea41
7 changed files with 47 additions and 12 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ import (
func main() {
rt := commands.RootCmd
commands.Handler = app.DefaultHandler()
// require all fees in mycoin - change this in your app!
commands.Handler = app.DefaultHandler("mycoin")
rt.AddCommand(
commands.InitCmd,