Add parent slot to getConfirmedBlock (#7038)

* Add parent slot to getConfirmedBlock

* Fix bad text-replace

* Use camelCase in getConfirmedBlock
This commit is contained in:
Tyera Eulberg
2019-11-19 09:39:55 -07:00
committed by GitHub
parent 5b7bd24f0a
commit ea656b1a3f
4 changed files with 6 additions and 1 deletions

View File

@ -23,9 +23,11 @@ pub struct Response<T> {
}
#[derive(Debug, Default, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct RpcConfirmedBlock {
pub previous_blockhash: Hash,
pub blockhash: Hash,
pub parent_slot: Slot,
pub transactions: Vec<(Transaction, Option<RpcTransactionStatus>)>,
}