From be33b1be6003c46f52e9882eb388ed811e565259 Mon Sep 17 00:00:00 2001 From: Stefan Thomas Date: Thu, 10 Apr 2014 08:15:52 -0700 Subject: [PATCH] [BUG] Don't set canonical flag when remote signing. --- src/js/ripple/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/ripple/transaction.js b/src/js/ripple/transaction.js index f50b74ab..154bec8a 100644 --- a/src/js/ripple/transaction.js +++ b/src/js/ripple/transaction.js @@ -281,7 +281,7 @@ Transaction.prototype.complete = function() { } // Set canonical flag - this enables canonicalized signature checking - if (this.canonical) { + if (this.remote.local_signing && this.canonical) { this.tx_json.Flags |= Transaction.flags.Universal.FullyCanonicalSig; // JavaScript converts operands to 32-bit signed ints before doing bitwise