Skip to content

Conversation

@DmitriiKJ
Copy link
Collaborator

No description provided.

@DmitriiKJ DmitriiKJ force-pushed the feature/proof_of_reserve_p2pkh branch from 6c7cc9d to e6cceab Compare November 7, 2025 12:50
@DmitriiKJ DmitriiKJ force-pushed the feature/proof_of_reserve_p2pkh branch from 07e3d0a to 43edfe5 Compare November 13, 2025 14:47
finalize_mr: bool,
}

pub fn leafs_tomls(utxos: Vec<Utxo>, message_hash: &[u8; 32]) -> Result<()> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to use &[T] whenever possible instead of Vec<T>. I see that you only use utxos to create an iterator, but .iter() creates an iterator with references, and u can get the same result by doing &[T].into_iter()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants