mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00: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