Fix ledger index argument to transactionEntry, add flexibility to remote.transaction

This commit is contained in:
wltsmrz
2014-01-07 01:34:04 -08:00
parent 626164a8ab
commit 4082bd2a0a
3 changed files with 44 additions and 51 deletions

View File

@@ -1497,9 +1497,6 @@ Remote.prototype.transaction = function(source, options, callback) {
transaction = transaction[transactionType](options);
break;
default:
throw new Error('Argument must be string or object: ' + source);
}
var lastArg = arguments[arguments.length - 1];