chore: remove redundant words in comment (#9015)
Signed-off-by: pinglanlu <pinglanlu@outlook.com>
This commit is contained in:
parent
ac90773331
commit
987a34a6e0
|
@ -65,7 +65,7 @@ scanner.Scanner.GetResults
|
|||
scanner.Scanner.RegisterKeys
|
||||
```
|
||||
|
||||
To see the the request and response types for a method, for example the `GetResults` method, try:
|
||||
To see the request and response types for a method, for example the `GetResults` method, try:
|
||||
|
||||
|
||||
```bash
|
||||
|
|
|
@ -67,7 +67,7 @@ pub(crate) fn sanitize_avoids_leaks(original: &MetaAddr, sanitized: &MetaAddr) {
|
|||
|
||||
// check the other fields
|
||||
|
||||
// Sanitize to the the default state, even though it's not serialized
|
||||
// Sanitize to the default state, even though it's not serialized
|
||||
assert_eq!(sanitized.last_connection_state, Default::default());
|
||||
// Sanitize to known flags
|
||||
let sanitized_peer_services =
|
||||
|
|
|
@ -888,7 +888,7 @@ async fn mempool_reverifies_after_tip_change() -> Result<(), Report> {
|
|||
.await;
|
||||
|
||||
// Push block 2 to the state. This will increase the tip height past the expected
|
||||
// tip height that the the tx was verified at.
|
||||
// tip height that the tx was verified at.
|
||||
state_service
|
||||
.ready()
|
||||
.await
|
||||
|
|
|
@ -2555,7 +2555,7 @@ async fn submit_block() -> Result<()> {
|
|||
common::get_block_template_rpcs::submit_block::run().await
|
||||
}
|
||||
|
||||
/// Check that the the end of support code is called at least once.
|
||||
/// Check that the end of support code is called at least once.
|
||||
#[test]
|
||||
fn end_of_support_is_checked_at_start() -> Result<()> {
|
||||
let _init_guard = zebra_test::init();
|
||||
|
@ -3474,7 +3474,7 @@ async fn nu6_funding_streams_and_coinbase_balance() -> Result<()> {
|
|||
"invalid block with excessive coinbase output value should be rejected"
|
||||
);
|
||||
|
||||
// Use an invalid coinbase transaction (with an output value less than than the `block_subsidy + miner_fees - expected_lockbox_funding_stream`)
|
||||
// Use an invalid coinbase transaction (with an output value less than the `block_subsidy + miner_fees - expected_lockbox_funding_stream`)
|
||||
let network = base_network_params
|
||||
.clone()
|
||||
.with_post_nu6_funding_streams(ConfiguredFundingStreams {
|
||||
|
|
|
@ -68,7 +68,7 @@ fn end_of_support_date() {
|
|||
));
|
||||
}
|
||||
|
||||
/// Check that the the end of support task is working.
|
||||
/// Check that the end of support task is working.
|
||||
#[tokio::test]
|
||||
#[tracing_test::traced_test]
|
||||
async fn end_of_support_task() -> Result<()> {
|
||||
|
|
Loading…
Reference in New Issue