Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit e53251d

Browse files
committed
Remove FIXME question from getblock
We want to provide all shapes of JSON data so having two explicit functions is a reasonable way, I can't think of a better one right now.
1 parent 961b791 commit e53251d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

client/src/client_sync/v17/blockchain.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ macro_rules! impl_client_v17__getblock {
3838
Ok(json.block()?)
3939
}
4040

41-
// FIXME(getblock): This handling of optional args is ugly as hell but because the returned json
42-
// is different for each verbosity these are functionally different methods. Is there a better way?
43-
4441
pub fn get_block_verbosity_zero(
4542
&self,
4643
hash: BlockHash,

0 commit comments

Comments
 (0)