From 89d8cc61f0883acd2732bde9031b832bd481de52 Mon Sep 17 00:00:00 2001 From: rigel rozanski Date: Tue, 6 Jun 2017 22:21:16 -0400 Subject: [PATCH] Add proof state subcommand --- commands/proofs/state.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commands/proofs/state.go b/commands/proofs/state.go index a769d88..27fbb4a 100644 --- a/commands/proofs/state.go +++ b/commands/proofs/state.go @@ -32,3 +32,8 @@ func init() { func stateProver(node client.Client) lc.Prover { return proofs.NewAppProver(node) } + +// RegisterProofStateSubcommand registers a subcommand to proof state cmd +func RegisterProofStateSubcommand(cmd *cobra.Command) { + stateCmd.AddCommand(cmd) +}