Skip to content
Open
Changes from 1 commit
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
8 changes: 6 additions & 2 deletions src/serve/grpc/watch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,12 @@ fn block_to_txs<C: LedgerContext>(
})
.map(|x| u5c::watch::AnyChainTx {
chain: Some(u5c::watch::any_chain_tx::Chain::Cardano(x)),
// TODO(p): should it be none?
block: None,
block: Some(u5c::watch::AnyChainBlock {
native_bytes: body.to_vec().into(),
chain: Some(u5c::watch::any_chain_block::Chain::Cardano(
mapper.map_block_cbor(body),
)),
}),
Comment thread
nelsonksh marked this conversation as resolved.
Outdated
})
.collect()
}
Expand Down