Skip to content

Commit

Permalink
fix(lightning): add peers on ldk refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb authored and limpbrains committed Jul 11, 2023
1 parent d23c5f6 commit 1251e9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/lightning/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ export const refreshLdk = async ({
if (syncRes.isErr()) {
return err(syncRes.error.message);
}
await addPeers({ selectedNetwork, selectedWallet });
await updateLightningChannels({ selectedWallet, selectedNetwork });
await updateClaimableBalance({ selectedNetwork, selectedWallet });
return ok('');
Expand Down

0 comments on commit 1251e9c

Please sign in to comment.