Modify create_transaction mandatory_inputs argument

This commit is contained in:
Sosthene 2024-10-04 09:26:47 +02:00 committed by Nicolas Cantu
parent f577207e0d
commit 5cc894f67b

View File

@ -14,7 +14,7 @@ use sp_client::silentpayments::utils::SilentPaymentAddress;
use sp_client::spclient::{OwnedOutput, Recipient, SpClient, SpWallet};
pub fn create_transaction(
mandatory_inputs: &[&OutPoint],
mandatory_inputs: Vec<OutPoint>,
freezed_utxos: &HashSet<OutPoint>,
sp_wallet: &SpWallet,
mut recipients: Vec<Recipient>,