mempool: minor.

This commit is contained in:
Christopher Jeffrey 2016-08-17 13:12:19 -07:00
parent 0ca46228f5
commit 5f43c429a9
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1801,8 +1801,8 @@ function AddressIndex(mempool) {
this.map = {};
}
AddressIndex.prototype.getCoins = function getCoins(address) {
var items = this.map[address];
AddressIndex.prototype.getCoins = function getCoins(hash) {
var items = this.map[hash];
var out = [];
var i, item, outpoint, coin;
@ -1820,8 +1820,8 @@ AddressIndex.prototype.getCoins = function getCoins(address) {
return out;
};
AddressIndex.prototype.getTX = function getTX(address) {
var items = this.map[address];
AddressIndex.prototype.getTX = function getTX(hash) {
var items = this.map[hash];
var out = [];
var i, hash, tx;