diff --git a/db/empty b/db/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/db/testnet/empty b/db/testnet/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/lib/TransactionDb.js b/lib/TransactionDb.js index e2db7dcb..3f38d60f 100644 --- a/lib/TransactionDb.js +++ b/lib/TransactionDb.js @@ -220,7 +220,7 @@ isspent (ret.spentTxId && ret.spentTxId !== info.txid) ) { if (ret.multipleSpentAttempts) { - ret.multipleSpentAttempts.each(function(mul) { + ret.multipleSpentAttempts.forEach(function(mul) { if (mul.spentTxId !== info.txid) { i.doubleSpentTxID = ret.spentTxId; i.doubleSpentIndex = ret.spentIndex;