diff --git a/lib/TokenType1.js b/lib/TokenType1.js index f3701db..befbb8d 100644 --- a/lib/TokenType1.js +++ b/lib/TokenType1.js @@ -210,7 +210,7 @@ var TokenType1 = /** @class */ (function () { amount_2[index] = new BigNumber(amt).times(Math.pow(10, tokenDecimals_1)); // Don't forget to account for token precision }); } - return [4 /*yield*/, bitboxNetwork.simpleTokenSend(tokenId_1, amount_2, utxos_1, sendConfig.fundingAddress, bchChangeReceiverAddress)]; + return [4 /*yield*/, bitboxNetwork.simpleTokenSend(tokenId_1, amount_2, utxos_1, sendConfig.tokenReceiverAddress, bchChangeReceiverAddress)]; case 6: return [2 /*return*/, _a.sent()]; case 7: error_3 = _a.sent(); diff --git a/src/TokenType1.ts b/src/TokenType1.ts index 5134e25..adfaf0d 100644 --- a/src/TokenType1.ts +++ b/src/TokenType1.ts @@ -242,7 +242,7 @@ class TokenType1 { tokenId, amount, utxos, - sendConfig.fundingAddress, + sendConfig.tokenReceiverAddress, bchChangeReceiverAddress ) } catch (error) {