wallet: minor.

This commit is contained in:
Christopher Jeffrey 2016-11-06 01:31:30 -08:00
parent d6b97efcc4
commit 465a76a485
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
3 changed files with 2 additions and 6 deletions

View File

@ -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,

View File

@ -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}

View File

@ -1176,7 +1176,7 @@ WalletDB.prototype.getHashes = function getHashes() {
};
/**
* Get all tx hashes.
* Get all outpoints.
* @returns {Promise}
*/