diff --git a/src/js/ripple/remote.js b/src/js/ripple/remote.js index eee720a2..ef853827 100644 --- a/src/js/ripple/remote.js +++ b/src/js/ripple/remote.js @@ -1666,7 +1666,7 @@ Remote.prototype.transaction = function(source, options, callback) { break; case 'string': - transactionType = source.toLowerCase(); + transactionType = transactionTypes[source.toLowerCase()]; if (!transactionType) { throw new Error('Invalid transaction type: ' + transactionType);