Skip to content

Commit b644dca

Browse files
authored
119 minutes is returned instead of 181 minutes if confirmations is 0 for _getProofPeriod (openintentsframework#20)
1 parent 82be408 commit b644dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oracles/bitcoin/BitcoinOracle.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ contract BitcoinOracle is BaseOracle {
108108
/**
109109
* @notice Returns the number of seconds required to reach confirmation with 99.9%
110110
* certainty.
111-
* @dev confirmations == 0 returns 181 minutes.
111+
* @dev confirmations == 0 returns 119 minutes.
112112
* @param confirmations Current block height - inclusion block height + 1.
113113
* @return Expected time to reach the confirmation with 99,9% certainty.
114114
*/

0 commit comments

Comments
 (0)