create_update_transaction returns NewTxMessage
This commit is contained in:
parent
589e8d1d1d
commit
0dc14dee4a
@ -1323,8 +1323,11 @@ pub fn create_update_transaction(
|
|||||||
validation_token: vec![],
|
validation_token: vec![],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Create the new_tx message
|
||||||
|
let new_tx_msg = NewTxMessage::new(serialize(&final_tx).to_lower_hex_string(), None);
|
||||||
|
|
||||||
Ok(ApiReturn {
|
Ok(ApiReturn {
|
||||||
new_tx_to_send: Some(serialize(&final_tx).to_lower_hex_string()),
|
new_tx_to_send: Some(new_tx_msg),
|
||||||
updated_process: Some((commitment_outpoint.to_string(), relevant_process.clone())),
|
updated_process: Some((commitment_outpoint.to_string(), relevant_process.clone())),
|
||||||
ciphers_to_send: ciphers,
|
ciphers_to_send: ciphers,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user