Skip to content

Commit 3fcc69d

Browse files
committed
Fix solhint warning
1 parent 29f5dce commit 3fcc69d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contracts/sfc/SFC.sol

+1
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@ contract SFC is Initializable, Ownable, Version {
932932
uint256 feeShare = (ctx.epochFee * c.treasuryFeeShare()) / Decimal.unit();
933933
_mintNativeToken(feeShare);
934934
(bool success, ) = treasuryAddress.call{value: feeShare, gas: 1000000}("");
935+
// solhint-disable-next-line no-empty-blocks
935936
if (!success) {
936937
// ignore treasure transfer failure
937938
// this is prevention against treasuryAddress being able to break epoch sealing

0 commit comments

Comments
 (0)