v9 fork height

This commit is contained in:
scoobybejesus 2018-10-18 11:23:46 -04:00 committed by GitHub
parent 3701359cf6
commit 582909cd83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def fork(bot, trigger):
pass pass
try: try:
height=j["height"] height=j["height"]
forkheight=1400000 forkheight=1686275
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: