mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-19 01:04:32 +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,
|
||||
current_height: u64,
|
||||
output_indices: Vec<BlockOutputIndices>,
|
||||
daemon_time: u64,
|
||||
pool_info: PoolInfo,
|
||||
daemon_time: u64 = default_zero::<u64>(), "default_zero",
|
||||
// FIXME: use `default()` after <https://github.com/Cuprate/cuprate/pull/355>
|
||||
pool_info: PoolInfo = PoolInfo::None, "PoolInfo::default",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue