mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-03 12:06:21 +01:00
Fix: Got rid of getters
This commit is contained in:
parent
fca5ecca9a
commit
d2af819c05
1 changed files with 2 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue