mirror of
https://github.com/luxfi/graph.git
synced 2026-09-24 00:26:07 +00:00
The path packs a fee in exactly three bytes with an address either side, so position is the only thing separating them. A fee above 2^24-1 rendered seven hex characters instead of six and shifted every byte after it — the path still parsed, and named real pools at addresses nobody asked for. A negative one rendered as hex with a minus sign in it. Bounded where the rest of the hop is checked, so a crafted quote is a 400 and not a transaction. Co-authored-by: Hanzo Dev <[email protected]>