check_transaction_for_silent_payments returns txid

This commit is contained in:
Sosthene00 2024-04-17 21:56:48 +02:00
parent 1ac419edb7
commit c986324c68

View File

@ -306,9 +306,9 @@ pub fn check_transaction_for_silent_payments(
let tx = deserialize::<Transaction>(&Vec::from_hex(&tx_hex)?)?;
let tweak_data = PublicKey::from_str(&tweak_data_hex)?;
let updated_user = check_transaction(&tx, blockheight, tweak_data)?;
let txid = check_transaction(&tx, blockheight, tweak_data)?;
Ok(updated_user)
Ok(txid)
}
#[derive(Tsify, Serialize, Deserialize)]