Fix Transactions error messages

This commit is contained in:
Mark Veidemanis 2021-12-29 18:52:27 +00:00
parent 712a144467
commit d1252a1d42
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 2 deletions

View File

@ -81,12 +81,12 @@ class Transactions(object):
# Try getting the trade by the reference ID given # Try getting the trade by the reference ID given
stored_trade = self.get_ref(reference) stored_trade = self.get_ref(reference)
if not stored_trade: if not stored_trade:
self.log.info(f"No reference in DB for {reference}") self.log.info(f"No reference in DB for {reference}", reference=reference)
self.irc.client.msg(self.irc.client.channel, f"No reference in DB for {reference}") self.irc.client.msg(self.irc.client.channel, f"No reference in DB for {reference}")
# Try getting the trade by the reference, using it as a TXID # Try getting the trade by the reference, using it as a TXID
ref2 = self.tx_to_ref(reference) ref2 = self.tx_to_ref(reference)
if not ref2: if not ref2:
self.log.info("No TXID in DB for {reference}") self.log.info("No TXID in DB for {reference}", reference=reference)
self.irc.client.msg(self.irc.client.channel, f"No TXID in DB for {reference}") self.irc.client.msg(self.irc.client.channel, f"No TXID in DB for {reference}")
return return
else: else: