Skip to content

Commit

Permalink
update rust-lightning and fix accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Nov 3, 2023
1 parent b1fff2f commit ee29743
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ pub(crate) async fn keysend(
&payment_hash,
contract_id,
payload.asset_amount,
false,
);

let route_params = RouteParameters {
Expand Down Expand Up @@ -1477,7 +1478,7 @@ pub(crate) async fn open_channel(
payload.push_msat,
0,
Some(config),
consignment_endpoint,
Some(consignment_endpoint),
)
.map_err(|e| APIError::FailedOpenChannel(format!("{:?}", e)))?;
tracing::info!("EVENT: initiated channel with peer {}", peer_pubkey);
Expand Down Expand Up @@ -1738,6 +1739,7 @@ pub(crate) async fn send_payment(
&payment_hash,
rgb_contract_id,
rgb_amount,
false,
),
(None, None) => {}
(Some(_), None) => {
Expand Down

0 comments on commit ee29743

Please sign in to comment.