mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 08:37:59 -05:00
trie: add Default impl for AccountProof (#10132)
This commit is contained in:
@@ -134,6 +134,12 @@ pub struct AccountProof {
|
||||
pub storage_proofs: Vec<StorageProof>,
|
||||
}
|
||||
|
||||
impl Default for AccountProof {
|
||||
fn default() -> Self {
|
||||
Self::new(Address::default())
|
||||
}
|
||||
}
|
||||
|
||||
impl AccountProof {
|
||||
/// Create new account proof entity.
|
||||
pub const fn new(address: Address) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user