From 0f1625e597344fd731cfb29ec43c5ec40b0ea286 Mon Sep 17 00:00:00 2001 From: Rafael Cardenas Date: Fri, 25 Oct 2024 16:49:18 -0600 Subject: [PATCH] fix: mock signature retrieval --- components/chainhook-cli/src/storage/signers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/chainhook-cli/src/storage/signers.rs b/components/chainhook-cli/src/storage/signers.rs index a1f6a77b..954ac6c3 100644 --- a/components/chainhook-cli/src/storage/signers.rs +++ b/components/chainhook-cli/src/storage/signers.rs @@ -651,8 +651,8 @@ pub fn get_signer_db_messages_received_at_block( "mock_signature" => db_tx .query_row( "SELECT p.burn_block_height, p.stacks_tip_consensus_hash, p.stacks_tip, p.stacks_tip_height, - p.pox_consensus, p.server_version AS peer_version, p.network_id, s.server_version, s.signature, - s.pubkey + p.pox_consensus, p.server_version AS peer_version, p.network_id, p.index_block_hash, s.server_version, + s.signature, s.pubkey FROM mock_signatures AS s INNER JOIN mock_proposals AS p ON p.id = s.mock_proposal_id WHERE s.message_id = ?",