mirror of
https://github.com/logos-blockchain/logos-blockchain.git
synced 2026-05-18 15:29:30 +00:00
fix: address the key must be a String error log (#2761)
This commit is contained in:
parent
b9e079d3b9
commit
e2294b44c0
@ -27,13 +27,13 @@ use crate::{
|
||||
channel_multi_sig_proof::ChannelMultiSigProof,
|
||||
leader_claim_proof::{LeaderClaimProof as _, LeaderClaimPublic},
|
||||
},
|
||||
utils::serde_bytes_newtype,
|
||||
};
|
||||
|
||||
/// The hash of a transaction
|
||||
#[derive(
|
||||
Debug, Clone, Copy, PartialEq, Eq, Default, Hash, PartialOrd, Ord, Serialize, Deserialize,
|
||||
)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default, Hash, PartialOrd, Ord)]
|
||||
pub struct TxHash(pub Hash);
|
||||
serde_bytes_newtype!(TxHash, 32);
|
||||
|
||||
impl From<Hash> for TxHash {
|
||||
fn from(hash: Hash) -> Self {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user