This commit is contained in:
shillogatu 2017-09-17 10:36:31 -06:00
parent d7c7d66f97
commit c2b939f863
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ def fork(bot, trigger):
forkheight=1400000 forkheight=1400000
if forkheight > height: if forkheight > height:
bot.say("The current block height is {0:,}. Fork height is {1:,}. {2:,} blocks to go, happening in approximately {3:.2f} hours.".format(height,forkheight,forkheight-height,(forkheight-height)/30.0)) bot.say("The current block height is {0:,}. Fork height is {1:,}. {2:,} blocks to go, happening in approximately {3:.2f} hours.".format(height,forkheight,forkheight-height,(forkheight-height)/30.0))
else: else:
bot.say("I don't know when the next fork is.") bot.say("I don't know when the next fork is.")
except: except:
bot.say("Something borked -_-") bot.say("Something borked -_-")