Using sendassettoaddress multiple times with the same amount gives strange outcome.

+1 vote
I've been using sendassettoaddress but noticed that when I used it multiple times with the same amount and address, the balance on the receiving address didn't change to the expected value.

When I use sendassetfrom, the problem doesn't appear to happen. Has this happened to anyone else?
asked Feb 7, 2016 by anonymous

1 Answer

0 votes

Do both the sending and receiving address belong to the same node? If so you might find that sendassettoaddress is sometimes using funds belonging to an address, to send back to that address. If you want to separate balances between addresses cleanly, be sure to use APIs with from in their name.

answered Feb 8, 2016 by MultiChain