hey @hirotadashi & @ahmadyazdanii , I faced a typo error in transfer function and asking you to take a look at it share your feedback about it.
here are more details about the issue:
in the function below (line 97 - ergo.controller.ts ):
when I want to call sendChangeTo() with req.fromAddress there is a mistake because the type of req.fromAddress is string but sendChangeTo() only accepts ErgoAddress | Base58String | HexString and I'm facing this error in my test file:
Argument of type 'string' is not assignable to parameter of type 'number'.ts(2345)
hey @hirotadashi & @ahmadyazdanii , I faced a typo error in transfer function and asking you to take a look at it share your feedback about it. here are more details about the issue: in the function below (line 97 - ergo.controller.ts ):
when I want to call sendChangeTo() with req.fromAddress there is a mistake because the type of req.fromAddress is string but sendChangeTo() only accepts ErgoAddress | Base58String | HexString and I'm facing this error in my test file:
Argument of type 'string' is not assignable to parameter of type 'number'.ts(2345)