Skip to content

Commit

Permalink
fix: properly display message signing error
Browse files Browse the repository at this point in the history
  • Loading branch information
ardevd committed Jan 24, 2024
1 parent 208c1b6 commit 7b1ad5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tui/sign_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (m SignMessageModel) signMessage() string {
signature, err := m.lndService.Client.SignMessage(m.ctx, []byte(messageToSign))

if err != nil {
fmt.Println("Error: ", err)
return fmt.Sprintf("Error: %s", err.Error())
}

return signature
Expand Down

0 comments on commit 7b1ad5a

Please sign in to comment.