mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-04 04:13:49 +01:00
FIX: bip47 related crash on wallet/details
This commit is contained in:
parent
f24edbaeb4
commit
6d3e089d1e
2 changed files with 7 additions and 1 deletions
|
@ -147,6 +147,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…
Add table
Reference in a new issue