Fix: Got rid of getters

This commit is contained in:
Pavel Ševčík 2018-12-28 18:02:39 +01:00
parent fca5ecca9a
commit d2af819c05

View file

@ -15,6 +15,8 @@ export class AbstractWallet {
}
constructor() {
this.type = this.constructor.type;
this.typeReadable = this.constructor.typeReadable;
this.label = '';
this.secret = ''; // private key or recovery phrase
this.balance = 0;
@ -27,14 +29,6 @@ export class AbstractWallet {
this.preferredBalanceUnit = BitcoinUnit.BTC;
}
get type() {
return this.constructor.type;
}
get typeReadable() {
return this.constructor.typeReadable;
}
getTransactions() {
return this.transactions;
}