Token change issue
Closed this issue · 1 comments
jcramer commented
Line 81 in b509e6d
There are two issues with the bitboxnetwork.sendToken()
method.
- When token change is 0 there is a dust output still created to receive 0 tokens.
- Address for receiving the token change should be the same as the bchChangeAddress parameter
- Rename the bchChangeAddress parameter so that it is clear that both token change and bch change are going back to this address.
Also, if this isn't provided where does the change go? The funding address?
jcramer commented
This is resolved.