Smart Contract - 10
Created by Kshitij about a year ago
No description provided
This content was deleted by the author
Sir in my case, while testing the loan contract, its showing the state.toNumber() is not a function. This error is from the "should accept the lend amount" block.
I tried console logging the loan.state. It returns a function. So, it actually makes sense that we can't use toNumber() with it.
Please Help me out Sir. Correct me if I am wrong.