From 282ac6d8ab664ce0a30c43116d6d3c6e45f3e514 Mon Sep 17 00:00:00 2001 From: wltsmrz Date: Tue, 15 Apr 2014 12:38:57 -0700 Subject: [PATCH] Fix transaction constructor --- src/js/ripple/remote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);