Skip to content

Commit

Permalink
Fix solhint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuba committed Jan 15, 2024
1 parent 8ed2a3b commit 7c2fea3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/contracts/test/BridgeStub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 7c2fea3

Please sign in to comment.