Skip to content

Commit b905c5b

Browse files
authored
Merge pull request #152 from tcharding/05-09-followup-148
Do a few trivial cleanups
2 parents db4d304 + e7b06a3 commit b905c5b

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

client/src/client_sync/v23/blockchain.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
//! All macros require `Client` to be in scope.
99
//!
1010
//! See or use the `define_jsonrpc_minreq_client!` macro to define a `Client`.
11+
1112
/// Implements Bitcoin Core JSON-RPC API method `savemempool`
1213
#[macro_export]
1314
macro_rules! impl_client_v23__savemempool {

integration_test/tests/blockchain.rs

+12-12
Original file line numberDiff line numberDiff line change
@@ -283,24 +283,24 @@ fn blockchain__savemempool() {
283283
let (_addr, _txid) = node.create_mempool_transaction();
284284

285285
#[cfg(any(
286-
feature = "0_17_2",
287-
feature = "0_18_1",
288-
feature = "0_19_1",
289-
feature = "0_20_2",
290-
feature = "0_21_2",
291-
feature = "22_1"
286+
feature = "v17",
287+
feature = "v18",
288+
feature = "v19",
289+
feature = "v20",
290+
feature = "v21",
291+
feature = "v22",
292292
))]
293293
{
294294
node.client.save_mempool().expect("savemempool");
295295
}
296296

297297
#[cfg(not(any(
298-
feature = "0_17_2",
299-
feature = "0_18_1",
300-
feature = "0_19_1",
301-
feature = "0_20_2",
302-
feature = "0_21_2",
303-
feature = "22_1"
298+
feature = "v17",
299+
feature = "v18",
300+
feature = "v19",
301+
feature = "v20",
302+
feature = "v21",
303+
feature = "v22",
304304
)))]
305305
{
306306
let _: Result<SaveMempool, _> = node.client.save_mempool();

types/src/v23/blockchain.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//! The JSON-RPC API for Bitcoin Core `v23` - blockchain.
44
//!
55
//! Types for methods found under the `== Blockchain ==` section of the API docs.
6+
67
use serde::{Deserialize, Serialize};
78

89
/// Result of JSON-RPC method `savemempool`.

0 commit comments

Comments
 (0)