projects
/
ldk-sample
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use an explicit handle when spawning RPC calls
[ldk-sample]
/
src
/
main.rs
diff --git
a/src/main.rs
b/src/main.rs
index 955fc4d308e8360c42761501de25fcb9b8e22f3c..6f359756475134d64a693841ad9d1240094850df 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-299,6
+299,7
@@
async fn start_ldk() {
args.bitcoind_rpc_port,
args.bitcoind_rpc_username.clone(),
args.bitcoind_rpc_password.clone(),
+ tokio::runtime::Handle::current(),
)
.await
{