Skip to content

Commit

Permalink
fix(transfer): refresh LDK after CJIT (#2315)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwltr authored Oct 21, 2024
1 parent d4a2924 commit 7f7164a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/lightning/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,9 @@ export const subscribeToLightningPayments = ({

// Check if this is a CJIT Entry that needs to be added to the activity list.
addCJitActivityItem(res.channel_id).then();
// we need to sync the ledger because TChannelUpdate doesn't have enough data
// Refresh to update balance
refreshLdk();
// We need to sync the ledger because TChannelUpdate doesn't have enough data
syncLedger();
},
);
Expand Down

0 comments on commit 7f7164a

Please sign in to comment.