mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
fix(tickets): Field codes for TicketCount and TicketSequence (#111)
* fix(tickets): Field codes for TicketCount and TicketSequence
BeginLedgerSeq was taking the place of TicketCount (40) in definitions.
From a8d481c2a5/src/ripple/protocol/impl/SField.cpp
TicketCount should be 40 and TicketSequence 41.
BeginLedgerSeq doesn't seem to be used, so removing it
* fix(ci): fix tests ci
This commit is contained in:
@@ -444,26 +444,6 @@
|
|||||||
"type": "UInt32"
|
"type": "UInt32"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
|
||||||
"TicketCount",
|
|
||||||
{
|
|
||||||
"nth": 41,
|
|
||||||
"isVLEncoded": false,
|
|
||||||
"isSerialized": true,
|
|
||||||
"isSigningField": true,
|
|
||||||
"type": "UInt32"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"TicketSequence",
|
|
||||||
{
|
|
||||||
"nth": 42,
|
|
||||||
"isVLEncoded": false,
|
|
||||||
"isSerialized": true,
|
|
||||||
"isSigningField": true,
|
|
||||||
"type": "UInt32"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
"IndexNext",
|
"IndexNext",
|
||||||
{
|
{
|
||||||
@@ -1555,7 +1535,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"BeginLedgerSeq",
|
"TicketCount",
|
||||||
{
|
{
|
||||||
"nth": 40,
|
"nth": 40,
|
||||||
"isVLEncoded": false,
|
"isVLEncoded": false,
|
||||||
@@ -1564,6 +1544,16 @@
|
|||||||
"type": "UInt32"
|
"type": "UInt32"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
"TicketSequence",
|
||||||
|
{
|
||||||
|
"nth": 41,
|
||||||
|
"isVLEncoded": false,
|
||||||
|
"isSerialized": true,
|
||||||
|
"isSigningField": true,
|
||||||
|
"type": "UInt32"
|
||||||
|
}
|
||||||
|
],
|
||||||
[
|
[
|
||||||
"Channel",
|
"Channel",
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
"12000A240000000E2029000000016840000000000027108114D5024F157225CA9F8F4C73094D61A8FDD746E0DB"
|
"12000A240000000E2028000000016840000000000027108114D5024F157225CA9F8F4C73094D61A8FDD746E0DB"
|
||||||
|
|||||||
Reference in New Issue
Block a user