From 1b5fe70604d3e124ff2fe697ba864069a39cccd4 Mon Sep 17 00:00:00 2001 From: Roman Krasiuk Date: Wed, 12 Mar 2025 17:20:59 +0100 Subject: [PATCH] docs(ress): fix witness format (#14984) --- crates/ress/protocol/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ress/protocol/README.md b/crates/ress/protocol/README.md index 255a6e0a93..bf5acb09bd 100644 --- a/crates/ress/protocol/README.md +++ b/crates/ress/protocol/README.md @@ -84,11 +84,11 @@ This is the response to GetBytecode, providing the requested bytecode. Response `[request-id: P, [blockhash: B_32]]` -Require peer to return a state witness message containing the witness of the given block hash. +Require peer to return a state witness message containing the state witness of the given block hash. ### Witness (0x08) -`[request-id: P, [statewitness]]` +`[request-id: P, [node₁: bytes, node₂: bytes, ...]]` This is the response to GetWitness, providing the requested state witness. Response corresponds to a block hash of the GetWitness request.