Skip to content

Commit

Permalink
fix: request import
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Jul 14, 2024
1 parent 4f68118 commit e0f0152
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cln_nwc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ impl ClnNwc {
.cln_rpc
.lock()
.await
.call(Request::Pay(PayRequest {
.call(cln_rpc::Request::Pay(PayRequest {
bolt11: bolt11.to_string(),
amount_msat: None,
label: None,
Expand Down Expand Up @@ -290,7 +290,9 @@ impl ClnNwc {
.cln_rpc
.lock()
.await
.call(Request::ListFunds(ListfundsRequest { spent: None }))
.call(cln_rpc::Request::ListFunds(ListfundsRequest {
spent: None,
}))
.await;

let event_builder = match cln_response {
Expand Down

0 comments on commit e0f0152

Please sign in to comment.