diff --git a/rpc/api_service.go b/rpc/api_service.go index 56775c72d..aca8dd602 100644 --- a/rpc/api_service.go +++ b/rpc/api_service.go @@ -380,6 +380,7 @@ func (s *APIService) toBlockResponse(block *core.Block, fullFillTransaction bool } else { tx = &rpcpb.TransactionResponse{Hash: v.Hash().String()} } + tx.BlockHeight = block.Height() txs = append(txs, tx) } resp.Transactions = txs