txdb: fix fillHistory.
This commit is contained in:
parent
de18e92117
commit
0bf384b84a
@ -2215,8 +2215,10 @@ TXDB.prototype.fillHistory = co(function* fillHistory(tx) {
|
|||||||
input = tx.inputs[i];
|
input = tx.inputs[i];
|
||||||
credit = credits[i];
|
credit = credits[i];
|
||||||
|
|
||||||
if (!credit)
|
if (!credit) {
|
||||||
|
coins.push(null);
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
input.coin = credit.coin;
|
input.coin = credit.coin;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user