Skip to content

Commit

Permalink
ScriptPublicKeyBucket
Browse files Browse the repository at this point in the history
  • Loading branch information
smartgoo committed Dec 30, 2024
1 parent af0e74f commit 2a52238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexes/utxoindex/src/stores/indexed_utxos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub const VERSION_TYPE_SIZE: usize = size_of::<ScriptPublicKeyVersion>(); // Con
/// [`ScriptPublicKeyBucket`].
/// Consists of 2 bytes of little endian [VersionType] bytes, followed by a variable size of [ScriptVec].
#[derive(Eq, Hash, PartialEq, Debug, Clone)]
struct ScriptPublicKeyBucket(Vec<u8>);
pub struct ScriptPublicKeyBucket(Vec<u8>);

impl From<&ScriptPublicKey> for ScriptPublicKeyBucket {
fn from(script_public_key: &ScriptPublicKey) -> Self {
Expand Down

0 comments on commit 2a52238

Please sign in to comment.