Skip to content

Commit

Permalink
Pass in receiver address array
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cardona committed May 4, 2019
1 parent 73d9f94 commit 5cb9846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/TokenType1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/TokenType1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class TokenType1 {
tokenId,
amount,
utxos,
sendConfig.fundingAddress,
sendConfig.tokenReceiverAddress,
bchChangeReceiverAddress
)
} catch (error) {
Expand Down

0 comments on commit 5cb9846

Please sign in to comment.