set token fee to 0 on renew with btc

This commit is contained in:
Jude Nelson
2018-06-16 14:48:51 -04:00
parent 11530e840c
commit 2236004919

View File

@@ -812,6 +812,7 @@ def check_renewal( state_engine, nameop, block_id, checked_ops ):
# no Stacks will be spent
state_transition_put_account_payment_info(nameop, None, None, None)
token_fee = 0
else:
if EPOCH_FEATURE_NAMEOPS_COST_TOKENS not in epoch_features: