Skip to content

Commit

Permalink
Update shared/src/ledger/storage/merkle_tree.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tiago Carvalho <sugoiuguu@tfwno.gf>
  • Loading branch information
batconjurer and sug0 authored Dec 6, 2022
1 parent d4bc962 commit 0ac0bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/ledger/storage/merkle_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub enum Error {
type Result<T> = std::result::Result<T, Error>;

/// Type alias for bytes to be put into the Merkle storage
pub(super) type StorageBytes<'a> = &'a [u8];
pub(super) type StorageBytes<'a> = std::borrow::Cow<'a, [u8]>;

/// Type aliases for the different merkle trees and backing stores
pub type SmtStore = DefaultStore<SmtHash, Hash, 32>;
Expand Down

0 comments on commit 0ac0bc1

Please sign in to comment.