FIX: Dont use hardcoded label

This commit is contained in:
Marcos Rodriguez Vélez 2021-07-12 22:45:16 -04:00
parent ce1027a2ce
commit 419b7ceb07

View file

@ -213,7 +213,6 @@ export class AbstractWallet {
this.secret = parsedSecret.ExtPubKey;
const mfp = Buffer.from(parsedSecret.MasterFingerprint, 'hex').reverse().toString('hex');
this.masterFingerprint = parseInt(mfp, 16);
this.setLabel('Cobo Vault ' + parsedSecret.MasterFingerprint);
if (parsedSecret.CoboVaultFirmwareVersion) this.use_with_hardware_wallet = true;
}
} catch (_) {}