From aa16207aa5ae8696bdd923cfd6fb969b4ae15f21 Mon Sep 17 00:00:00 2001 From: Jonathan Moody <103143855+moodyjon@users.noreply.github.com> Date: Tue, 6 Sep 2022 12:57:45 -0500 Subject: [PATCH] Fix struct annotation for HashXHistoryValue. TxNums now little-endian. --- db/prefixes/prefixes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/prefixes/prefixes.go b/db/prefixes/prefixes.go index b6d4a7d..0c9f67b 100644 --- a/db/prefixes/prefixes.go +++ b/db/prefixes/prefixes.go @@ -513,7 +513,7 @@ type HashXHistoryKey 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 { -- 2.45.3