Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jdogresorg committed Apr 25, 2024
1 parent 6f91d67 commit 3c8ecab
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions indexer/includes/compare.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,6 @@ function btnsCompare($database=null){
{$whereSql}
ORDER BY tx_index ASC
{$limitSql}";
// Support OLD style database with index_tx_types instead of index_actions
// TODO: Remove
if(in_array($db,array('BTNS_Counterparty_Old','BTNS_Counterparty_Testnet_Old','BTNS_Dogeparty_Old','BTNS_Dogeparty_Testnet_Old'))){
$sql = "SELECT
t1.tx_index,
t2.hash as tx_hash,
a.type as action
FROM
{$db}.transactions t1,
{$db}.index_transactions t2,
{$db}.index_tx_types a
WHERE
a.id=t1.type_id AND
t2.id=t1.tx_hash_id
{$whereSql}
ORDER BY tx_index ASC
{$limitSql}";
}

$results = $mysqli->query($sql);
if($results){
if($results->num_rows){
Expand Down

0 comments on commit 3c8ecab

Please sign in to comment.