mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: rm reth-primitives dep (#8097)
This commit is contained in:
@ -14,7 +14,8 @@ workspace = true
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-rpc-types.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
# eth
|
||||
enr.workspace = true
|
||||
|
||||
@ -126,7 +126,7 @@ impl std::fmt::Display for AnyNode {
|
||||
AnyNode::NodeRecord(record) => write!(f, "{record}"),
|
||||
AnyNode::Enr(enr) => write!(f, "{enr}"),
|
||||
AnyNode::PeerId(peer_id) => {
|
||||
write!(f, "enode://{}", reth_primitives::hex::encode(peer_id.as_slice()))
|
||||
write!(f, "enode://{}", alloy_primitives::hex::encode(peer_id.as_slice()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user