node: fix aptos reobservation
This commit is contained in:
parent
053b73375b
commit
9da2bd4150
|
@ -98,7 +98,8 @@ func (e *Watcher) Run(ctx context.Context) error {
|
|||
panic("invalid chain ID")
|
||||
}
|
||||
|
||||
nativeSeq := binary.BigEndian.Uint64(r.TxHash)
|
||||
// uint64 will read the *first* 8 bytes, but the sequence is stored in the *last* 8.
|
||||
nativeSeq := binary.BigEndian.Uint64(r.TxHash[24:])
|
||||
|
||||
logger.Info("Received obsv request", zap.Uint64("tx_hash", nativeSeq))
|
||||
|
||||
|
|
Loading…
Reference in New Issue