From 7c2fea3aff83269751a244b4a5fb8564da5c5dfc Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Mon, 15 Jan 2024 16:46:25 +0100 Subject: [PATCH] Fix solhint problems --- core/contracts/test/BridgeStub.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/contracts/test/BridgeStub.sol b/core/contracts/test/BridgeStub.sol index f52390ad3..2e6213134 100644 --- a/core/contracts/test/BridgeStub.sol +++ b/core/contracts/test/BridgeStub.sol @@ -21,7 +21,7 @@ contract BridgeStub is IBridge { uint64 public depositTxMaxFee = 1000; // 1000 satoshi = 0.00001 BTC uint32 public depositRevealAheadPeriod = 15 days; - mapping(uint256 => DepositRequest) depositsMap; + mapping(uint256 => DepositRequest) internal depositsMap; constructor(TestERC20 _tbtc) { tbtc = _tbtc; @@ -80,6 +80,7 @@ contract BridgeStub is IBridge { calculateDepositKey(fundingTxHash, fundingOutputIndex) ]; + // solhint-disable-next-line not-rely-on-time deposit.sweptAt = uint32(block.timestamp); (, , uint64 depositTxMaxFee, ) = depositParameters();