File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -313,11 +313,11 @@ impl LeaderBlockCommitOp {
313
313
} ) ?;
314
314
315
315
// basic sanity checks
316
+ // if parent block ptr and parent vtxindex are both 0, then this block's parent is
317
+ // the genesis block.
316
318
if data. parent_block_ptr == 0 && data. parent_vtxindex != 0 {
317
319
warn ! ( "Invalid tx: parent block back-pointer must be positive" ) ;
318
320
return Err ( op_error:: ParseError ) ;
319
- // if parent block ptr and parent vtxindex are both 0, then this block's parent is
320
- // the genesis block.
321
321
}
322
322
323
323
if u64:: from ( data. parent_block_ptr ) >= block_height {
Original file line number Diff line number Diff line change @@ -1414,7 +1414,7 @@ impl TransactionAuth {
1414
1414
| TransactionAuth :: Sponsored (
1415
1415
TransactionSpendingCondition :: Singlesig ( ..) ,
1416
1416
TransactionSpendingCondition :: OrderIndependentMultisig ( ..) ,
1417
- ) => epoch_id >= Epoch30 ,
1417
+ ) => epoch_id >= StacksEpochId :: Epoch30 ,
1418
1418
TransactionAuth :: Standard ( TransactionSpendingCondition :: Multisig ( ..) )
1419
1419
| TransactionAuth :: Standard ( TransactionSpendingCondition :: Singlesig ( ..) )
1420
1420
| TransactionAuth :: Sponsored (
You can’t perform that action at this time.
0 commit comments