Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

Commit a6b9b68

Browse files
authored
fix(lightning): filter unnecessary error (#2461)
1 parent ada9b65 commit a6b9b68

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/utils/lightning/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,10 @@ export const refreshLdk = async ({
800800
shouldPreemptivelyStopLdk: false,
801801
});
802802
if (setupResponse.isErr()) {
803+
if (setupResponse.error.message.includes('already_init')) {
804+
return ok('');
805+
}
806+
803807
showToast({
804808
type: 'error',
805809
title: i18n.t('wallet:ldk_start_error_title'),

0 commit comments

Comments
 (0)