mempool: minor.
This commit is contained in:
parent
0ca46228f5
commit
5f43c429a9
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user