diff --git a/src/mapper/collect.rs b/src/mapper/collect.rs index 59f6a3d4..44b73d03 100644 --- a/src/mapper/collect.rs +++ b/src/mapper/collect.rs @@ -1,9 +1,9 @@ use pallas::{ - codec::utils::MaybeIndefArray, + codec::utils::{KeyValuePairs, MaybeIndefArray}, ledger::primitives::{ alonzo::{ - AuxiliaryData, MintedBlock, Multiasset, NativeScript, PlutusData, PlutusScript, - Redeemer, TransactionInput, VKeyWitness, Value, + AuxiliaryData, Coin, MintedBlock, Multiasset, NativeScript, PlutusData, PlutusScript, + Redeemer, RewardAccount, TransactionInput, VKeyWitness, Value, }, babbage::{ LegacyTransacionOutput, PlutusV2Script, PostAlonzoTransactionOutput, TransactionOutput, diff --git a/src/mapper/map.rs b/src/mapper/map.rs index 14a99d69..19dd12ce 100644 --- a/src/mapper/map.rs +++ b/src/mapper/map.rs @@ -444,7 +444,7 @@ impl EventWriter { } if let Some(withdrawals) = &body.withdrawals { - record.withdrawals = self.collect_withdrawal_records(withdrawals)?.into(); + record.withdrawals = self.collect_withdrawal_records(withdrawals).into(); } }