Commit 1a39d4da authored by Richer Maximilien's avatar Richer Maximilien

[c] Show more flow info during signature

Fix #9
parent 0d56aa30
Pipeline #1149 passed with stage
......@@ -36,6 +36,7 @@ var signCmd = &cobra.Command{
os.Exit(2)
}
fmt.Println("Waiting for peers...")
manager.OnSignerStatusUpdate = signFeedbackFn
err = manager.ConnectToPeers()
if err != nil {
......@@ -47,6 +48,7 @@ var signCmd = &cobra.Command{
var ready string
readStringParam("Do you REALLY want to sign "+contract.File.Name+"? Type 'yes' to confirm", "", &ready)
if ready != "yes" {
fmt.Println("Signature aborted!")
os.Exit(4)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment