Merge pull request #58 from moodyjon/hashx_history_fix

Fix struct annotation for HashXHistoryValue. TxNums now little-endian.
This commit is contained in:
Jonathan Moody 2022-09-06 13:03:07 -05:00 committed by GitHub
commit 5b690ff2ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {