Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
1a39d4da
Commit
1a39d4da
authored
May 02, 2016
by
Richer Maximilien
Browse files
[c] Show more flow info during signature
Fix
#9
parent
0d56aa30
Pipeline
#1149
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dfssc/cmd/sign.go
View file @
1a39d4da
...
...
@@ -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
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment