|
|
@ -399,7 +399,7 @@ function signTx (txData) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function sendTx (txData) { |
|
|
|
function sendTx (txData) { |
|
|
|
log.info('actions: sendTx') |
|
|
|
log.info(`actions - sendTx: ${JSON.stringify(txData.txParams)}`) |
|
|
|
return (dispatch) => { |
|
|
|
return (dispatch) => { |
|
|
|
log.debug(`actions calling background.approveTransaction`) |
|
|
|
log.debug(`actions calling background.approveTransaction`) |
|
|
|
background.approveTransaction(txData.id, (err) => { |
|
|
|
background.approveTransaction(txData.id, (err) => { |
|
|
@ -413,7 +413,7 @@ function sendTx (txData) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function updateAndApproveTx (txData) { |
|
|
|
function updateAndApproveTx (txData) { |
|
|
|
log.info('actions: updateAndApproveTx') |
|
|
|
log.info('actions: updateAndApproveTx: ' + JSON.stringify(txData)) |
|
|
|
return (dispatch) => { |
|
|
|
return (dispatch) => { |
|
|
|
log.debug(`actions calling background.updateAndApproveTx`) |
|
|
|
log.debug(`actions calling background.updateAndApproveTx`) |
|
|
|
background.updateAndApproveTransaction(txData, (err) => { |
|
|
|
background.updateAndApproveTransaction(txData, (err) => { |
|
|
|