mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-07 22:43:56 -05:00
docs: clarify TreeRootEntry::content unsigned format (#20790)
This commit is contained in:
@@ -122,10 +122,10 @@ impl TreeRootEntry {
|
||||
Ok(Self { enr_root, link_root, sequence_number, signature })
|
||||
}
|
||||
|
||||
/// Returns the _unsigned_ content pairs of the entry:
|
||||
/// Returns the _unsigned_ content of the entry used for signing:
|
||||
///
|
||||
/// ```text
|
||||
/// e=<enr-root> l=<link-root> seq=<sequence-number> sig=<signature>
|
||||
/// enrtree-root:v1 e=<enr-root> l=<link-root> seq=<sequence-number>
|
||||
/// ```
|
||||
fn content(&self) -> String {
|
||||
format!(
|
||||
|
||||
Reference in New Issue
Block a user