projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6199433
)
Fix minor indentation issue
author
Matt Corallo
<git@bluematt.me>
Tue, 4 May 2021 16:17:22 +0000
(16:17 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 4 May 2021 16:17:22 +0000
(16:17 +0000)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index b024e9354ef220429fea58c841688dde7b2b1a28..21dfb284a81eeae3e9b1366a41e55fc4cd891378 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-168,10
+168,10
@@
async fn handle_ldk_events(
let status = match loop_channel_manager.claim_funds(payment_preimage.unwrap()) {
true => {
println!(
let status = match loop_channel_manager.claim_funds(payment_preimage.unwrap()) {
true => {
println!(
-
"\nEVENT: received payment from payment hash {} of {} millisatoshis",
-
hex_utils::hex_str(&payment_hash.0),
-
amt
- );
+ "\nEVENT: received payment from payment hash {} of {} millisatoshis",
+ hex_utils::hex_str(&payment_hash.0),
+ amt
+
);
print!("> ");
io::stdout().flush().unwrap();
HTLCStatus::Succeeded
print!("> ");
io::stdout().flush().unwrap();
HTLCStatus::Succeeded