Skip to content

Commit

Permalink
fix: Include message in relay hash (#487)
Browse files Browse the repository at this point in the history
This was an omission in the previous commit. getRelayHash() permits
amount, realizedLpFeePct, relayerFeePct or message to be undefined.
  • Loading branch information
pxrl authored Jan 3, 2024
1 parent b62c83c commit 74629e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/SpokeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ export function relayFilledAmount(
relayData.destinationToken,
relayData.amount,
relayData.realizedLpFeePct,
relayData.relayerFeePct
relayData.relayerFeePct,
relayData.message
).relayHash;

return spokePool.relayFills(hash, { blockTag });
Expand Down

0 comments on commit 74629e0

Please sign in to comment.