Skip to content

Commit 944a112

Browse files
committed
fix(cardano-chain-follower): update metadata
Signed-off-by: bkioshn <[email protected]>
1 parent 980b1b3 commit 944a112

File tree

1 file changed

+2
-2
lines changed
  • rust/cardano-chain-follower/src/metadata

1 file changed

+2
-2
lines changed

rust/cardano-chain-follower/src/metadata/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use std::{fmt::Debug, sync::Arc};
44

5-
use cardano_blockchain_types::{Network, TransactionAuxData};
5+
use cardano_blockchain_types::{MetadatumLabel, Network, TransactionAuxData};
66
use cip36::Cip36;
77
use cip509::Cip509;
88
use dashmap::DashMap;
@@ -41,7 +41,7 @@ pub struct DecodedMetadataItem {
4141
/// For example, CIP15/36 uses labels 61284 & 61285,
4242
/// 61284 is the primary label, so decoded metadata
4343
/// will be under that label.
44-
pub(crate) struct DecodedMetadata(DashMap<u64, Arc<DecodedMetadataItem>>);
44+
pub(crate) struct DecodedMetadata(DashMap<MetadatumLabel, Arc<DecodedMetadataItem>>);
4545

4646
impl DecodedMetadata {
4747
/// Create new decoded metadata for a transaction.

0 commit comments

Comments
 (0)