projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0af17
)
Fix signmessage offset calculation
author
Matt Corallo
<git@bluematt.me>
Sun, 14 Nov 2021 22:06:57 +0000
(22:06 +0000)
committer
Matt Corallo
<git@bluematt.me>
Sun, 14 Nov 2021 22:06:57 +0000
(22:06 +0000)
src/cli.rs
patch
|
blob
|
history
diff --git
a/src/cli.rs
b/src/cli.rs
index d34512c56e3dc31b52b9e95f7d8bccb99d7583ce..00eb04787cb9fdefa3df35ffeccd58ca67b1f517 100644
(file)
--- a/
src/cli.rs
+++ b/
src/cli.rs
@@
-352,7
+352,7
@@
pub(crate) async fn poll_for_user_input<E: EventHandler>(
"nodeinfo" => node_info(channel_manager.clone(), peer_manager.clone()),
"listpeers" => list_peers(peer_manager.clone()),
"signmessage" => {
- const MSG_STARTPOS: usize = "signm
sg
".len() + 1;
+ const MSG_STARTPOS: usize = "signm
essage
".len() + 1;
if line.as_bytes().len() <= MSG_STARTPOS {
println!("ERROR: signmsg requires a message");
continue;