mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 07:35:52 +00:00
Fix ledger index argument to transactionEntry, add flexibility to remote.transaction
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user