File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ async def test_basic_blockchain_tx(
92
92
for coin in added_coins :
93
93
unspent = await full_node_1 .coin_store .get_coin_record (coin .name ())
94
94
assert unspent is not None
95
- assert not unspent .spent
95
+ assert not unspent .spent ()
96
96
assert not unspent .coinbase
97
97
98
98
@pytest .mark .anyio
Original file line number Diff line number Diff line change @@ -566,7 +566,8 @@ async def validate_block_body(
566
566
prev_transaction_block_timestamp ,
567
567
)
568
568
if error is not None :
569
- return error
569
+ # TODO: standardise errors across Rust and Python so cast is not necesary here
570
+ return Err (error )
570
571
571
572
# 22. Verify aggregated signature is done in pre-validation
572
573
if not block .transactions_info .aggregated_signature :
You can’t perform that action at this time.
0 commit comments