Skip to content

Commit ff2a920

Browse files
author
bleprevost
committed
Add missing Holder and Delegate fields to binary-codec definitions
The Holder field (AccountID nth=11) and Delegate field (AccountID nth=12) were missing from the definitions.json, causing MPTokenAuthorize transactions with the Holder field to fail with tecNO_PERMISSION because the field was not being properly serialized. This fix aligns the definitions with the official xrpl.js ripple-binary-codec.
1 parent 62ea18a commit ff2a920

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

binary-codec/definitions/definitions.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,6 +2197,26 @@
21972197
"type": "AccountID"
21982198
}
21992199
],
2200+
[
2201+
"Holder",
2202+
{
2203+
"nth": 11,
2204+
"isVLEncoded": true,
2205+
"isSerialized": true,
2206+
"isSigningField": true,
2207+
"type": "AccountID"
2208+
}
2209+
],
2210+
[
2211+
"Delegate",
2212+
{
2213+
"nth": 12,
2214+
"isVLEncoded": true,
2215+
"isSerialized": true,
2216+
"isSigningField": true,
2217+
"type": "AccountID"
2218+
}
2219+
],
22002220
[
22012221
"HookAccount",
22022222
{

0 commit comments

Comments
 (0)