mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-31 06:45:54 +00:00
rpc/types: add missing defaults to fields (#361)
* add defaults to fields * Update rpc/types/src/bin.rs Co-authored-by: hinto-janai <hinto.janai@protonmail.com> --------- Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
This commit is contained in:
parent
80369b82d2
commit
10000b4b34
1 changed files with 3 additions and 2 deletions
|
@ -132,8 +132,9 @@ define_request_and_response! {
|
||||||
start_height: u64,
|
start_height: u64,
|
||||||
current_height: u64,
|
current_height: u64,
|
||||||
output_indices: Vec<BlockOutputIndices>,
|
output_indices: Vec<BlockOutputIndices>,
|
||||||
daemon_time: u64,
|
daemon_time: u64 = default_zero::<u64>(), "default_zero",
|
||||||
pool_info: PoolInfo,
|
// FIXME: use `default()` after <https://github.com/Cuprate/cuprate/pull/355>
|
||||||
|
pool_info: PoolInfo = PoolInfo::None, "PoolInfo::default",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue