Commit 7469b0a8 authored by Richer Maximilien's avatar Richer Maximilien

Merge branch '9_notify_waiting_peer' into 'master'

[c] Show more flow info during signature

Fix #9

See merge request !69
parents 0d56aa30 1a39d4da
Pipeline #1152 passed with stages
......@@ -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