Browse Source

Merge pull request #981 from BlueWallet/fix-974

FIX: allow LocalTrader for watch-only HD wallets (closes #974)
receivehooks
Overtorment 5 years ago
committed by GitHub
parent
commit
a63e3051ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      class/watch-only-wallet.js

4
class/watch-only-wallet.js

@ -183,6 +183,10 @@ export class WatchOnlyWallet extends LegacyWallet {
return this.secret.startsWith('xpub') || this.secret.startsWith('ypub') || this.secret.startsWith('zpub');
}
allowHodlHodlTrading() {
return this.isHd();
}
useWithHardwareWalletEnabled() {
return !!this.use_with_hardware_wallet;
}

Loading…
Cancel
Save