Skip to content

Commit 29f5dce

Browse files
committed
Remove SealEpochRewards transfer status check
1 parent ddb6e6b commit 29f5dce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contracts/sfc/SFC.sol

+2-1
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,8 @@ contract SFC is Initializable, Ownable, Version {
933933
_mintNativeToken(feeShare);
934934
(bool success, ) = treasuryAddress.call{value: feeShare, gas: 1000000}("");
935935
if (!success) {
936-
revert TransferFailed();
936+
// ignore treasure transfer failure
937+
// this is prevention against treasuryAddress being able to break epoch sealing
937938
}
938939
}
939940
}

0 commit comments

Comments
 (0)