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.
1 parent 6a1ee77 commit 8d8955dCopy full SHA for 8d8955d
src/lib.rs
@@ -495,7 +495,7 @@ impl LdkLite {
495
// fifth round.
496
if rounds == 0 {
497
let now = Instant::now();
498
- match chain_access.sync_wallet() {
+ match chain_access.sync_wallet().await {
499
Ok(()) => log_info!(
500
sync_logger,
501
"On-chain wallet sync finished in {}ms.",
@@ -511,7 +511,7 @@ impl LdkLite {
511
&*sync_cmon as &(dyn Confirm + Sync),
512
];
513
514
- match chain_access.sync(confirmables) {
+ match chain_access.sync(confirmables).await {
515
516
517
"Lightning wallet sync finished in {}ms.",
0 commit comments