Make the '600000' hardcode safer
This commit is contained in:
parent
447db2cd00
commit
585626c1fc
|
@ -1077,7 +1077,7 @@ contract TestCoreRelayer is Test {
|
||||||
DeliveryStackTooDeep memory stack;
|
DeliveryStackTooDeep memory stack;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
uint256(1) * feeParams.targetNativePrice * gasParams.targetGasPrice
|
uint256(1) * feeParams.targetNativePrice * gasParams.targetGasPrice * 10
|
||||||
< uint256(1) * feeParams.sourceNativePrice * gasParams.sourceGasPrice
|
< uint256(1) * feeParams.sourceNativePrice * gasParams.sourceGasPrice
|
||||||
) {
|
) {
|
||||||
stack.paymentNotEnough =
|
stack.paymentNotEnough =
|
||||||
|
|
Loading…
Reference in New Issue