Skip to content

Commit 151cd4b

Browse files
committed
fix test error
1 parent a3ee48e commit 151cd4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/client_sync/v17/generating.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ macro_rules! impl_client_v17__generate {
3737
};
3838
}
3939

40-
/// Implements Bitcoin Core JSON-RPC API method `invalidate_block`
40+
/// Implements Bitcoin Core JSON-RPC API method `invalidateblock`
4141
// This method does not appear in the output of `bitcoin-cli help`.
4242
#[macro_export]
4343
macro_rules! impl_client_v17__invalidate_block {
4444
() => {
4545
impl Client {
4646
pub fn invalidate_block(&self, hash: BlockHash) -> Result<()> {
47-
match self.call("invalidate_block", &[into_json(hash)?]) {
47+
match self.call("invalidateblock", &[into_json(hash)?]) {
4848
Ok(serde_json::Value::Null) => Ok(()),
4949
Ok(res) => Err(Error::Returned(res.to_string())),
5050
Err(err) => Err(err.into()),

0 commit comments

Comments
 (0)