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:
elmurci
2020-11-23 21:51:03 +01:00
parent 479ade8a76
commit b023e9b35b
2 changed files with 12 additions and 22 deletions

View File

@@ -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",
{ {

View File

@@ -1 +1 @@
"12000A240000000E2029000000016840000000000027108114D5024F157225CA9F8F4C73094D61A8FDD746E0DB" "12000A240000000E2028000000016840000000000027108114D5024F157225CA9F8F4C73094D61A8FDD746E0DB"