blixt-wallet
blixt-wallet copied to clipboard
Lnd invoked `onError` even though `onResponse` has already been called for startLnd
This causes the follow error on iOS:
Invariant Violation: No callback found with cbID 1617 and callID 808 for LndMobile.startLnd - most likely the callback was already invoked. Args: '[{"code":"error","message":"error creating wallet config: unable to initialize neutrino backend: unable to create neutrino datab...(truncated)...","domain":"go","userInfo":{"NSLocalizedDescription":"error creating wallet config: unable to initialize neutrino backend: unable to create neutrino datab...(truncated)..."},"nativeStackIOS":["0 Blixt Wallet Debug 0x00000001010d4b2c RCTJSErrorFromCodeMessageAndNSError + 112","1 Blixt Wallet Debug 0x0000000101076c70 __41-[RCTModuleMethod processMethodSignat...(truncated)...","2 Blixt Wallet Debug 0x0000000100b88b38 $sSo8NSStringCSgACSo7NSErrorCSgIeyByyy_SS...(truncated)...","3 Blixt Wallet Debug 0x0000000100b9a484 $s18Blixt_Wallet_Debug9LndMobileC05startD...(truncated)...","4 Blixt Wallet Debug 0x0000000100b7d488 $s18Blixt_Wallet_Debug3LndC05startD0_4arg...(truncated)...","5 Blixt Wallet Debug 0x0000000100b7d3ec $s18Blixt_Wallet_Debug3LndC05startD0_4arg...(truncated)...","6 Blixt Wallet Debug 0x0000000100b76b78 $s18Blixt_Wallet_Debug17LndmobileCallback...(truncated)...","7 Blixt Wallet Debug 0x0000000100b76c18 $s18Blixt_Wallet_Debug17LndmobileCallback...(truncated)...","8 Blixt Wallet Debug 0x00000001027afe2c cproxylndmobile_Callback_OnError + 228","9 Blixt Wallet Debug 0x00000001027a1b1c _cgo_5d2e1241fe86_Cfunc_cproxylndmobile_C...(truncated)...","10 Blixt Wallet Debug 0x00000001019bb60c runtime.asmcgocall.abi0 + 124"]}]', js engine: hermes