From c275174f27877ba8f389eb4efe969feb514d6e46 Mon Sep 17 00:00:00 2001 From: wltsmrz Date: Mon, 23 Feb 2015 13:09:50 -0800 Subject: [PATCH] Fix RegularKey requirement in SetRegularKey transaction format --- src/js/ripple/binformat.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/ripple/binformat.js b/src/js/ripple/binformat.js index a1db1fb8..034c2233 100644 --- a/src/js/ripple/binformat.js +++ b/src/js/ripple/binformat.js @@ -204,7 +204,6 @@ Object.keys(FIELDS_MAP).forEach(function(k1) { }); }); - var REQUIRED = exports.REQUIRED = 0, OPTIONAL = exports.OPTIONAL = 1, DEFAULT = exports.DEFAULT = 2; @@ -245,7 +244,7 @@ exports.tx = { [ 'OfferSequence' , REQUIRED ] ]), SetRegularKey: [5].concat(base, [ - [ 'RegularKey' , REQUIRED ] + [ 'RegularKey' , OPTIONAL ] ]), Payment: [0].concat(base, [ [ 'Destination' , REQUIRED ],