The transfer problem with the golang SDK

Hi, my brother, I found two problems when developing with the golang SDK

  1. One transport problem is that when transactions.NewSpendTx is called, the parameter “amount” is found to be at most 19 bits, meaning that the actual transfer amount can only be less than 10ae.


  2. When transferring money, if user A has 1ae and A transfers to user B with 100ae,golang’s SDK will continue to execute and will not stop. In this case, can you add a judgment or return a result instead of repeating the loop forever?

Hello @Baixin.chain and welcome to the Forum.

@randomshinichi can help you here.

Best,
Albena

I’ll look into it.

1 Like