FIX : Performing a swap with the wrong asset does not result in a refund.
As per rows 41 & 42, performing a swap with the wrong asset did not result in a refund.
Smoke test output:
2019/10/21 15:09:50 From: tbnb1vrsaqh2lhclttvmcdpa55fuuz8hq5nk62hcd43
2019/10/21 15:09:50 Memo: SWAP:BNB
2019/10/21 15:09:50 Payload for Binance: [{tbnb1hzwfk6t3sqjfuzlr0ur9lj920gs37gg92gtay9 [{BNB 10000000}]}]
2019/10/21 15:09:51 Commit Response from Binance: [{"code":0,"hash":"D3CC16166C1E4772081B7058F7CF5499D20225A75A39719E3DA81F6C9DF1E964","log":"Msg 0: ","ok":true}]
2019/10/21 15:09:56 SWAP-WRONG ASSET: FAIL - Binance Balance - tbnb1vrsaqh2lhclttvmcdpa55fuuz8hq5nk62hcd43 - Amounts do not match! 40060000.000000 versus 40022500.000000 - BNB
which shows that the BNB was not refunded. This is also confirmed by:
https://testnet-explorer.binance.org/address/tbnb1vrsaqh2lhclttvmcdpa55fuuz8hq5nk62hcd43
as no refund was seen coming from the pool.