From 0d303564f9b7a6be9e01145d594884a7c71ef421 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 23 Apr 2014 23:45:01 -0300 Subject: [PATCH] fix method name --- db/empty | 0 db/testnet/empty | 0 lib/TransactionDb.js | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 db/empty delete mode 100644 db/testnet/empty 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;