mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
Merge pull request #5432 from BlueWallet/fix-bip47-related-crash
FIX: bip47 related crash on wallet/details
This commit is contained in:
commit
9529a4050a
@ -151,6 +151,10 @@ export class AbstractWallet {
|
||||
return false;
|
||||
}
|
||||
|
||||
switchBIP47(value: boolean): void {
|
||||
throw new Error('switchBIP47: not implemented');
|
||||
}
|
||||
|
||||
allowReceive(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
@ -189,7 +189,9 @@ const WalletDetails = () => {
|
||||
wallet.setUseWithHardwareWalletEnabled(useWithHardwareWallet);
|
||||
}
|
||||
wallet.setHideTransactionsInWalletsList(!hideTransactionsInWalletsList);
|
||||
wallet.switchBIP47(isBIP47Enabled);
|
||||
if (wallet.allowBIP47()) {
|
||||
wallet.switchBIP47(isBIP47Enabled);
|
||||
}
|
||||
}
|
||||
saveToDisk()
|
||||
.then(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user