Skip to content

Commit

Permalink
Swap payment hash and preimage for payment_sent() callback (#364)
Browse files Browse the repository at this point in the history
Tested manually with `make run-3l`
  • Loading branch information
andrei-21 authored May 15, 2023
1 parent b109d11 commit a867704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eel/src/event_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ impl EventHandler for LipaEventHandler {
error!("Failed to persist in the payment db that sending payment with hash {} has succeeded", payment_hash.0.to_hex());
}
self.user_event_handler.payment_sent(
payment_preimage.0.to_hex(),
payment_hash.0.to_hex(),
payment_preimage.0.to_hex(),
fee_paid_msat,
);
}
Expand Down

0 comments on commit a867704

Please sign in to comment.