[BUG] Don't set canonical flag when remote signing.

This commit is contained in:
Stefan Thomas
2014-04-10 08:15:52 -07:00
parent 06288e798e
commit be33b1be60

View File

@@ -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