fix key fn not being called in getter

This commit is contained in:
EmmanuelChthonic
2023-10-20 14:03:36 +04:00
committed by Luke Parker
parent 441bf62e11
commit f976bc86ac

View File

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