Skip to content

Commit 827b117

Browse files
committed
fix outdated comments
1 parent 6a4e8c8 commit 827b117

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

polkadot/node/network/statement-distribution/src/v2/statement_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ impl StatementStore {
275275
}
276276
}
277277

278-
/// Error indicating that the validator was unknown.
278+
/// Error indicating that the validator was unknown or disabled.
279279
pub enum Error {
280280
/// The validator was unknown.
281281
ValidatorUnknown,

polkadot/node/network/statement-distribution/src/v2/tests/requests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,6 @@ fn peer_reported_for_providing_statement_from_disabled_validator() {
11551155
)
11561156
.await;
11571157

1158-
// Send a request to peer and mock its response to include a disabled validator statement.
11591158
{
11601159
let a_seconded_disabled = state
11611160
.sign_statement(

0 commit comments

Comments
 (0)