mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
fix key fn not being called in getter
This commit is contained in:
committed by
Luke Parker
parent
441bf62e11
commit
f976bc86ac
@@ -112,7 +112,7 @@ impl<N: Network, D: Db> MultisigsDb<N, D> {
|
|||||||
getter: &G,
|
getter: &G,
|
||||||
tx: <N::Transaction as Transaction<N>>::Id,
|
tx: <N::Transaction as Transaction<N>>::Id,
|
||||||
) -> Option<[u8; 32]> {
|
) -> Option<[u8; 32]> {
|
||||||
getter.get(tx.as_ref()).map(|id| id.try_into().unwrap())
|
getter.get(Self::resolved_key(tx.as_ref())).map(|id| id.try_into().unwrap())
|
||||||
}
|
}
|
||||||
pub fn plan_by_key_with_self_change<G: Get>(
|
pub fn plan_by_key_with_self_change<G: Get>(
|
||||||
getter: &G,
|
getter: &G,
|
||||||
|
|||||||
Reference in New Issue
Block a user