Pavel Ševčík
4 years ago
No known key found for this signature in database
GPG Key ID: D3B8A90B4072D9DB
1 changed files with
1 additions and
4 deletions
-
lib/wallet/wallet-service.js
|
|
@ -365,10 +365,7 @@ class WalletService { |
|
|
|
*/ |
|
|
|
_mergeEntities(active, legacy, bip49, bip84, pubkeys) { |
|
|
|
// Put all xpub into active.xpubs
|
|
|
|
active.xpubs = active.xpubs |
|
|
|
.concat(legacy.xpubs) |
|
|
|
.concat(bip49.xpubs) |
|
|
|
.concat(bip84.xpubs) |
|
|
|
active.xpubs = active.xpubs.concat(legacy.xpubs, bip49.xpubs, bip84.xpubs) |
|
|
|
|
|
|
|
// Put addresses and pubkeys into active
|
|
|
|
// but avoid duplicates
|
|
|
|