I am facing an issue when I try to call a function from my backend. That. backend function receives icp from one account and transfers it to other another account. Below is the screenshot of the error that I am facing.
The last screenshots show the section of the code that is highlighed to be the source of the issue from my console. second one is the index.ts showing line 44 and the third is the actor.ts showing line 604
I am suspecting maybe the error is due to the asynchronous nature of the methods inside. Has anyone faced the same issue or knows the exact reason why this is happening?