codedamn

Smart Contract - 10

Created by Kshitij about a year ago

0

No description provided

2 Comments

    0

    This content was deleted by the author

    @dumtoimoh0506

    Dumto Imoh

    @dumtoimoh0506

    1

    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.

    @moyez

    Moyez Rabbani

    @moyez

Your comment