fix(core): correct the visibility of the geth CallLogFrame struct

The previous diff made the struct public but did not change the fields
itself. The struct being public is not useful unless the fields are
public.
This commit is contained in:
Justin Phu 2023-03-21 05:32:27 +11:00
parent 5b2e8a1806
commit 6287267e0e
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -32,11 +32,11 @@ pub struct CallFrame {
#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)]
pub struct CallLogFrame {
#[serde(default, skip_serializing_if = "Option::is_none")]
address: Option<Address>,
pub address: Option<Address>,
#[serde(default, skip_serializing_if = "Option::is_none")]
topics: Option<Vec<H256>>,
pub topics: Option<Vec<H256>>,
#[serde(default, skip_serializing_if = "Option::is_none")]
data: Option<Bytes>,
pub data: Option<Bytes>,
}
#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)]