Skip to content

Commit

Permalink
Fix IssuanceBlockHeaderResponse (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 24, 2023
1 parent 276ef19 commit 57db1b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sdk/src/types/api/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@ pub struct IssuanceBlockHeaderResponse {
/// Blocks that are strongly directly approved.
pub strong_parents: BTreeSet<BlockId>,
/// Blocks that are weakly directly approved.
#[serde(default, skip_serializing_if = "BTreeSet::is_empty")]
pub weak_parents: BTreeSet<BlockId>,
/// Blocks that are directly referenced to adjust opinion.
#[serde(default, skip_serializing_if = "BTreeSet::is_empty")]
pub shallow_like_parents: BTreeSet<BlockId>,
/// The slot index of the latest finalized slot.
pub latest_finalized_slot: SlotIndex,
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/wallet/operations/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ where
crate::client::Error: From<S::Error>,
{
pub(crate) async fn submit_basic_block(&self, payload: Option<Payload>) -> Result<BlockId> {
log::debug!("submit_block");
log::debug!("submit_basic_block");

let block = self
.client()
Expand Down

0 comments on commit 57db1b0

Please sign in to comment.