diff --git a/client/src/client_sync/v23/blockchain.rs b/client/src/client_sync/v23/blockchain.rs index 0d7c004..e7855ec 100644 --- a/client/src/client_sync/v23/blockchain.rs +++ b/client/src/client_sync/v23/blockchain.rs @@ -8,6 +8,7 @@ //! All macros require `Client` to be in scope. //! //! See or use the `define_jsonrpc_minreq_client!` macro to define a `Client`. + /// Implements Bitcoin Core JSON-RPC API method `savemempool` #[macro_export] macro_rules! impl_client_v23__savemempool { diff --git a/integration_test/tests/blockchain.rs b/integration_test/tests/blockchain.rs index 36f8c32..7d4a010 100644 --- a/integration_test/tests/blockchain.rs +++ b/integration_test/tests/blockchain.rs @@ -283,24 +283,24 @@ fn blockchain__savemempool() { let (_addr, _txid) = node.create_mempool_transaction(); #[cfg(any( - feature = "0_17_2", - feature = "0_18_1", - feature = "0_19_1", - feature = "0_20_2", - feature = "0_21_2", - feature = "22_1" + feature = "v17", + feature = "v18", + feature = "v19", + feature = "v20", + feature = "v21", + feature = "v22", ))] { node.client.save_mempool().expect("savemempool"); } #[cfg(not(any( - feature = "0_17_2", - feature = "0_18_1", - feature = "0_19_1", - feature = "0_20_2", - feature = "0_21_2", - feature = "22_1" + feature = "v17", + feature = "v18", + feature = "v19", + feature = "v20", + feature = "v21", + feature = "v22", )))] { let _: Result = node.client.save_mempool(); diff --git a/types/src/v23/blockchain.rs b/types/src/v23/blockchain.rs index 284df8d..8735bbc 100644 --- a/types/src/v23/blockchain.rs +++ b/types/src/v23/blockchain.rs @@ -3,6 +3,7 @@ //! The JSON-RPC API for Bitcoin Core `v23` - blockchain. //! //! Types for methods found under the `== Blockchain ==` section of the API docs. + use serde::{Deserialize, Serialize}; /// Result of JSON-RPC method `savemempool`.