From 7844f802be2d9a4933704c33add5f36918d60fa6 Mon Sep 17 00:00:00 2001 From: neithanmo Date: Mon, 30 Oct 2023 15:37:03 -0600 Subject: [PATCH] remove commented code --- src/database.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/database.rs b/src/database.rs index f95ef8b..abafc8c 100644 --- a/src/database.rs +++ b/src/database.rs @@ -1051,7 +1051,6 @@ impl Database { /// Returns all the tx hashes for a block pub async fn get_tx_hashes_block(&self, hash: &[u8]) -> Result, Error> { // query for all tx hash that are in a block identified by the block_id - // let str = format!("SELECT t.hash FROM {0}.{BLOCKS_TABLE_NAME} b JOIN {0}.{TX_TABLE_NAME} t ON b.block_id = t.block_id WHERE b.block_id =$1;", self.network); let str = format!("SELECT t.hash, t.tx_type FROM {0}.{BLOCKS_TABLE_NAME} b JOIN {0}.{TX_TABLE_NAME} t ON b.block_id = t.block_id WHERE b.block_id = $1;", self.network); query(&str)