PatrickAlphaC / hardhat-fund-me-fcc

82 stars 182 forks source link

how to solve an error of not yet visible #154

Closed nzarambaelisa closed 1 year ago

nzarambaelisa commented 1 year ago

Question? i'm trying to call the claimrewards function in the unstake function in a staking smart contract, but when compiling, it is throwing an error saying undeclared identifier. "claimrewards()" is not (or not yet) visible at this point how is that error solved?