Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Nov 1, 2023
1 parent e96f4a2 commit 5326fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eco/Relayer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ contract Relayer {
DstPrice memory p = priceOf[toChainId];
DstConfig memory c = configOf[toChainId];

require(c.baseGas != 0; "!baseGas");
require(c.baseGas != 0, "!baseGas");
// remoteToken = dstGasPriceInWei * (baseGas + extraGas)
uint256 remoteToken = p.dstGasPriceInWei * (c.baseGas + extraGas);
// dstPriceRatio = dstPrice / localPrice * 10^10
Expand Down

0 comments on commit 5326fb2

Please sign in to comment.