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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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; |
|
|
|
} |
|
|
|