Skip to content

Commit

Permalink
solver: fix derivePostedVaaKey args
Browse files Browse the repository at this point in the history
  • Loading branch information
a5-pickle committed Aug 30, 2024
1 parent 36c430c commit e0edbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solver/src/utils/placeInitialOffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ function getPlaceInitialOfferAccounts(
const vaa = deserialize("Uint8Array", fastVaaBytes);
const doubleHash = keccak256(vaa.hash);
const fastVaaAccount = coreUtils.derivePostedVaaKey(
vaa.hash,
matchingEngine.coreBridgeProgramId().toBuffer(),
matchingEngine.coreBridgeProgramId(),
Buffer.from(vaa.hash),
);
const auction = matchingEngine.auctionAddress(doubleHash);
const fromRouterEndpoint = matchingEngine.routerEndpointAddress(fromChain as ChainId);
Expand Down

0 comments on commit e0edbd3

Please sign in to comment.