We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f66c72 + 2b277b0 commit ce19941Copy full SHA for ce19941
scripts/obwatch/ob-watcher.py
@@ -210,11 +210,9 @@ def create_orderbook_obj(self):
210
with self.taker.dblock:
211
rows = self.taker.db.execute('SELECT * FROM orderbook;').fetchall()
212
fbonds = self.taker.db.execute("SELECT * FROM fidelitybonds;").fetchall()
213
- if not rows or not fbonds:
214
- return []
215
216
fidelitybonds = []
217
- if jm_single().bc_interface != None:
+ if fbonds and jm_single().bc_interface != None:
218
(fidelity_bond_data, fidelity_bond_values, bond_outpoint_conf_times) =\
219
get_fidelity_bond_data(self.taker)
220
fidelity_bond_values_dict = dict([(bond_data.maker_nick, bond_value)
0 commit comments