fix(curve): index two crypto factory (#114)

* fix: index two crypto factory

* ci: make clippy happy

---------

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
This commit is contained in:
Zizou
2024-11-18 18:16:08 +01:00
committed by GitHub
parent fa9e5180fc
commit 9561cc9b8a
5 changed files with 12 additions and 7 deletions

View File

@@ -290,7 +290,7 @@ fn map_changes(
tx_change
.tx
.as_ref()
.map_or(false, |tx| tx.hash == tx_hash)
.is_some_and(|tx| tx.hash == tx_hash)
})
{
tx_change
@@ -342,7 +342,7 @@ fn map_changes(
tx_change
.tx
.as_ref()
.map_or(false, |tx| tx.hash == tx_hash)
.is_some_and(|tx| tx.hash == tx_hash)
})
{
tx_change