Fix struct annotation for HashXHistoryValue. TxNums now little-endian.

This commit is contained in:
Jonathan Moody 2022-09-06 12:57:45 -05:00
parent e46ac7c913
commit aa16207aa5

View file

@ -513,7 +513,7 @@ type HashXHistoryKey struct {
} }
type HashXHistoryValue struct { type HashXHistoryValue struct {
TxNums []uint32 `struct-while:"!_eof" json:"tx_nums"` TxNums []uint32 `struct:"lsb" struct-while:"!_eof" json:"tx_nums"`
} }
func (k *HashXHistoryKey) String() string { func (k *HashXHistoryKey) String() string {