Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IssuanceBlockHeaderResponse #1677

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading