return generated txkey with tx

pull/49/head
Marcel O'Neil 6 years ago
parent 92734c193a
commit cbfe5bb5ac
No known key found for this signature in database
GPG Key ID: C6D00B9C33263D72

@ -2759,7 +2759,7 @@ var cnUtil = function(currencyConfig) {
);
}
console.log(tx);
return tx;
return { tx, txkey };
};
this.create_transaction = function(

@ -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) {

Loading…
Cancel
Save