Skip to content

Commit 0492b69

Browse files
removed public constructors (#91)
1 parent 5492cde commit 0492b69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/APIConsumer.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ contract APIConsumer is ChainlinkClient {
3535
bytes32 _jobId,
3636
uint256 _fee,
3737
address _link
38-
) public {
38+
) {
3939
if (_link == address(0)) {
4040
setPublicChainlinkToken();
4141
} else {

contracts/PriceConsumerV3.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ contract PriceConsumerV3 {
1919
* Aggregator: ETH/USD
2020
* Address: 0x8A753747A1Fa494EC906cE90E9f37563A8AF630e
2121
*/
22-
constructor(address _priceFeed) public {
22+
constructor(address _priceFeed) {
2323
priceFeed = AggregatorV3Interface(_priceFeed);
2424
}
2525

0 commit comments

Comments
 (0)