Skip to content

Commit

Permalink
chore(base-node): remove prints from grpc (#4278)
Browse files Browse the repository at this point in the history
Description
---
Removes some stray prints in grpc
  • Loading branch information
sdbondi authored Jul 7, 2022
1 parent 02d3121 commit c2576a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions applications/tari_base_node/src/grpc/base_node_grpc_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1880,7 +1880,6 @@ impl tari_rpc::base_node_server::BaseNode for BaseNodeGrpcServer {
) -> Result<Response<Self::GetConstitutionsStream>, Status> {
let report_error_flag = self.report_error_flag();
let request = request.into_inner();
println!("{:?}", request);
let dan_node_public_key = PublicKey::from_bytes(&request.dan_node_public_key)
.map_err(|_| Status::invalid_argument("Dan node public key is not a valid public key"))?;

Expand All @@ -1890,7 +1889,6 @@ impl tari_rpc::base_node_server::BaseNode for BaseNodeGrpcServer {
.transpose()
.map_err(|_| Status::invalid_argument("Block hash has an invalid length"))?;

println!("{:?}", start_hash);
let mut node_service = self.node_service.clone();
// Check the start_hash is correct, or if not provided, start from genesis
let start_header = match start_hash {
Expand Down

0 comments on commit c2576a9

Please sign in to comment.