Skip to content

Commit

Permalink
Fix RegularKey requirement in SetRegularKey transaction format
Browse files Browse the repository at this point in the history
  • Loading branch information
wltsmrz committed Feb 23, 2015
1 parent af4ed29 commit c275174
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/ripple/binformat.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ Object.keys(FIELDS_MAP).forEach(function(k1) {
});
});


var REQUIRED = exports.REQUIRED = 0,
OPTIONAL = exports.OPTIONAL = 1,
DEFAULT = exports.DEFAULT = 2;
Expand Down Expand Up @@ -245,7 +244,7 @@ exports.tx = {
[ 'OfferSequence' , REQUIRED ]
]),
SetRegularKey: [5].concat(base, [
[ 'RegularKey' , REQUIRED ]
[ 'RegularKey' , OPTIONAL ]
]),
Payment: [0].concat(base, [
[ 'Destination' , REQUIRED ],
Expand Down

0 comments on commit c275174

Please sign in to comment.