Modify create_transaction mandatory_inputs argument

This commit is contained in:
Sosthene 2024-10-04 09:26:47 +02:00
parent 1d9a994543
commit 9ff9176498

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>,