From 8bb59c1b4727a37df47e08b7a31456bcb6528289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20C=C3=A1rdenas?= Date: Fri, 25 Oct 2024 16:59:48 -0600 Subject: [PATCH] fix: mock signature retrieval (#671) --- 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 = ?",