Skip to content

Commit c81d89a

Browse files
authored
Merge pull request #2305 from blockstack/fix/v1-tx-halt-condition
fix: Stacks 1.0 transaction halting condition
2 parents a2cbb7e + c86fa44 commit c81d89a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

blockstack/lib/nameset/virtualchain_hooks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@ def db_parse( block_id, txid, vtxindex, op, data, senders, inputs, outputs, fee,
205205
log.warning('Invalid senders for {}'.format(txid))
206206
return None
207207

208-
# check if the v2 upgrade threshold block has already been reached.
208+
# check if the v2 export threshold block has already been reached.
209209
# if so, then no more transactions will be considered
210-
v2_block_id = db_state.get_v2_upgrade_threshold_block()
210+
v2_block_id = db_state.get_v2_import_block_reached()
211211
if v2_block_id is not None:
212-
log.warning("V2 upgrade threshold reached; ignoring transaction {}".format(data.encode('hex')))
212+
log.warning("V2 export block height threshold reached; ignoring transaction {}".format(data.encode('hex')))
213213
return None
214214

215215
# this virtualchain instance must give the 'raw_tx' hint

0 commit comments

Comments
 (0)