Merge pull request #57 from matiu/bug/dependencies

fix method name
This commit is contained in:
Matias Alejo Garcia 2014-04-23 23:47:46 -03:00
commit b67bdbc1e6
3 changed files with 1 additions and 1 deletions

View File

View File

View File

@ -220,7 +220,7 @@ isspent
(ret.spentTxId && ret.spentTxId !== info.txid) (ret.spentTxId && ret.spentTxId !== info.txid)
) { ) {
if (ret.multipleSpentAttempts) { if (ret.multipleSpentAttempts) {
ret.multipleSpentAttempts.each(function(mul) { ret.multipleSpentAttempts.forEach(function(mul) {
if (mul.spentTxId !== info.txid) { if (mul.spentTxId !== info.txid) {
i.doubleSpentTxID = ret.spentTxId; i.doubleSpentTxID = ret.spentTxId;
i.doubleSpentIndex = ret.spentIndex; i.doubleSpentIndex = ret.spentIndex;