convertToBlock function

Block convertToBlock(
  1. Block pbBlock
)

Implementation

types.Block convertToBlock(pb.Block pbBlock) {
  return types.Block(blockInfo: convertToBlockInfo(pbBlock.blockInfo));
}