mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-10 04:44:53 +00:00
rpc/types: add missing defaults to fields (#361)
Some checks are pending
CI / fmt (push) Waiting to run
CI / typo (push) Waiting to run
CI / ci (macos-latest, stable, bash) (push) Waiting to run
CI / ci (ubuntu-latest, stable, bash) (push) Waiting to run
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Waiting to run
Doc / deploy (push) Blocked by required conditions
Doc / build (push) Waiting to run
Some checks are pending
CI / fmt (push) Waiting to run
CI / typo (push) Waiting to run
CI / ci (macos-latest, stable, bash) (push) Waiting to run
CI / ci (ubuntu-latest, stable, bash) (push) Waiting to run
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Waiting to run
Doc / deploy (push) Blocked by required conditions
Doc / build (push) Waiting to run
* 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