diff --git a/frame/examples/offchain-worker-ping-pong/src/lib.rs b/frame/examples/offchain-worker-ping-pong/src/lib.rs index 4a7cf42863563..b4cdcd3f8d15c 100644 --- a/frame/examples/offchain-worker-ping-pong/src/lib.rs +++ b/frame/examples/offchain-worker-ping-pong/src/lib.rs @@ -644,9 +644,9 @@ impl Pallet { // showcase two ways to send an unsigned transaction / unsigned payload (raw) // // By default unsigned transactions are disallowed, so we need to whitelist this case by - // writing `UnsignedValidator`. Note that it's EXTREMELY important to carefuly implement - // unsigned validation logic, as any mistakes can lead to opening DoS or spam attack - // vectors. See validation logic docs for more details. + // writing our implementation for the `ValidateUnsigned` trait. Note that it's EXTREMELY + // important to carefuly implement unsigned validation logic, as any mistakes can lead + // to opening DoS or spam attack vectors. See validation logic docs for more details. SubmitTransaction::>::submit_unsigned_transaction(call.into()) .map_err(|()| "Unable to submit unsigned transaction.")?; }