Skip to content

Commit 7f7164a

Browse files
authored
fix(transfer): refresh LDK after CJIT (#2315)
1 parent d4a2924 commit 7f7164a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/lightning/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,9 @@ export const subscribeToLightningPayments = ({
519519

520520
// Check if this is a CJIT Entry that needs to be added to the activity list.
521521
addCJitActivityItem(res.channel_id).then();
522-
// we need to sync the ledger because TChannelUpdate doesn't have enough data
522+
// Refresh to update balance
523+
refreshLdk();
524+
// We need to sync the ledger because TChannelUpdate doesn't have enough data
523525
syncLedger();
524526
},
525527
);

0 commit comments

Comments
 (0)