docs: clarify TreeRootEntry::content unsigned format (#20790)

This commit is contained in:
Snezhkko
2026-01-07 00:10:05 +02:00
committed by GitHub
parent d52b337127
commit 5fa1b99bb6

View File

@@ -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!(