added check for last_coinbase_result in fake_payday.sql