We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
amount_msat
1 parent 830b17c commit d7eec89Copy full SHA for d7eec89
src/lib.rs
@@ -961,7 +961,7 @@ impl Node {
961
preimage: None,
962
secret: payment_secret,
963
status: PaymentStatus::Pending,
964
- amount_msat: invoice.amount_milli_satoshis(),
+ amount_msat: Some(amount_msat),
965
},
966
);
967
@@ -980,7 +980,7 @@ impl Node {
980
981
982
status: PaymentStatus::Failed,
983
984
985
986
Err(Error::PaymentFailed)
0 commit comments