Skip to content

Commit 32d2f17

Browse files
committed
Fix incorrect client return type for verbose
The client macro for getrawmempool has two associated types. The client macro for the verbose type was set to return the non verbose type. Change the return type for the macro to GetRawMempoolVerbose.
1 parent f0b1c85 commit 32d2f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/client_sync/v17/blockchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ macro_rules! impl_client_v17__get_raw_mempool {
230230
// Equivalent to self.call("getrawmempool", &[into_json(false)?])
231231
self.call("getrawmempool", &[])
232232
}
233-
pub fn get_raw_mempool_verbose(&self) -> Result<GetRawMempool> {
233+
pub fn get_raw_mempool_verbose(&self) -> Result<GetRawMempoolVerbose> {
234234
self.call("getrawmempool", &[into_json(true)?])
235235
}
236236
}

0 commit comments

Comments
 (0)