Permalink
Browse files

Update pending.php

Remove IS NOT NULL statement.
  • Loading branch information...
whotooktwarden committed Mar 2, 2016
1 parent 080a0ee commit a28e4bdf12d612a5c276491d72835999ba82ebd7
Showing with 1 addition and 1 deletion.
  1. +1 −1 pending.php
@@ -10,7 +10,7 @@
//Use a while loop to print each line by ID then append with the newline character
//assign SQL to a variable for query execution
$sql = "SELECT id, crypto_symbol, crypto_address, external_address, is_inbound, rc_timestamp, finished, bc_blockhash, bc_amount, bc_txid FROM blockchain_transactions WHERE finished = 0 AND bc_txid IS NOT NULL;";
$sql = "SELECT id, crypto_symbol, crypto_address, external_address, is_inbound, rc_timestamp, finished, bc_blockhash, bc_amount, bc_txid FROM blockchain_transactions WHERE finished = 0;";
//connect to the database, execute the $sql, store the returned array within $result
//script exits gracefully if connection cannot be established
$result = $conn->query($sql);

0 comments on commit a28e4bd

Please sign in to comment.