wallet: minor.
This commit is contained in:
parent
d6b97efcc4
commit
465a76a485
@ -3168,7 +3168,7 @@ RPC.prototype.getwalletinfo = co(function* getwalletinfo(args) {
|
||||
|
||||
return {
|
||||
walletid: this.wallet.id,
|
||||
walletversion: 0,
|
||||
walletversion: 6,
|
||||
balance: +utils.btc(balance.unconfirmed),
|
||||
unconfirmed_balance: +utils.btc(balance.unconfirmed),
|
||||
txcount: this.wallet.state.tx,
|
||||
|
||||
@ -2550,10 +2550,6 @@ Wallet.prototype.__defineGetter__('state', function() {
|
||||
return this.txdb.state;
|
||||
});
|
||||
|
||||
Wallet.prototype.__defineGetter__('balance', function() {
|
||||
return this.txdb.balance;
|
||||
});
|
||||
|
||||
/**
|
||||
* Convert the wallet to a more inspection-friendly object.
|
||||
* @returns {Object}
|
||||
|
||||
@ -1176,7 +1176,7 @@ WalletDB.prototype.getHashes = function getHashes() {
|
||||
};
|
||||
|
||||
/**
|
||||
* Get all tx hashes.
|
||||
* Get all outpoints.
|
||||
* @returns {Promise}
|
||||
*/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user