take_over_height fix

This commit is contained in:
Lex Berezhny 2019-06-22 23:01:26 -04:00
parent 80ff60f0aa
commit 59ca3d3d16

View file

@ -100,6 +100,7 @@ class Outputs:
if txo['canonical_url'] is not None: if txo['canonical_url'] is not None:
txo_message.claim.canonical_url = txo['canonical_url'] txo_message.claim.canonical_url = txo['canonical_url']
txo_message.claim.is_controlling = bool(txo['is_controlling']) txo_message.claim.is_controlling = bool(txo['is_controlling'])
if txo['last_take_over_height'] is not None:
txo_message.claim.take_over_height = txo['last_take_over_height'] txo_message.claim.take_over_height = txo['last_take_over_height']
txo_message.claim.creation_height = txo['creation_height'] txo_message.claim.creation_height = txo['creation_height']
txo_message.claim.activation_height = txo['activation_height'] txo_message.claim.activation_height = txo['activation_height']