diff --git a/cryptonote_utils/cryptonote_utils.js b/cryptonote_utils/cryptonote_utils.js index dc4c587..e771ee0 100644 --- a/cryptonote_utils/cryptonote_utils.js +++ b/cryptonote_utils/cryptonote_utils.js @@ -2759,7 +2759,7 @@ var cnUtil = function(currencyConfig) { ); } console.log(tx); - return tx; + return { tx, txkey }; }; this.create_transaction = function( diff --git a/monero_utils/monero_sendingFunds_utils.js b/monero_utils/monero_sendingFunds_utils.js index f0ddcc4..41b92ff 100644 --- a/monero_utils/monero_sendingFunds_utils.js +++ b/monero_utils/monero_sendingFunds_utils.js @@ -652,7 +652,7 @@ function SendFunds( console.log("Decomposed destinations:"); monero_utils.printDsts(splitDestinations); // - signedTx = monero_utils.create_transaction( + var fullTx = monero_utils.create_transaction( wallet__public_keys, wallet__private_keys, splitDestinations, @@ -667,6 +667,7 @@ function SendFunds( isRingCT, nettype, ); + var signedTx = fullTx.tx; } catch (e) { var errStr; if (e) {