colored-coins-sdk
colored-coins-sdk copied to clipboard
Bug in financeChangeAddress when send asset amount back and forth.
To reproduce the bug:
- Set financeChangeAddress: cc.hdwallet.getAddress(0, 0)
- Send asset from and address A to B
- Send asset back from B to A
After sent back and forth, the output amount (Funding amount in tBTC) will automatically go to address A in testnet even thought we set (financeChangeAddress to cc.hdwallet.getAddress(0, 0))
Note:
- cc.hdwallet.getAddress(0, 0) is funded
- Address A and B hold dust amount of tBTC only.