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 @@ -565,7 +565,8 @@ async def validate_block_body(
565
565
prev_transaction_block_timestamp ,
566
566
)
567
567
if error is not None :
568
- return error
568
+ # TODO: standardise errors across Rust and Python so cast is not necesary here
569
+ return Err (error )
569
570
570
571
# 22. Verify aggregated signature is done in pre-validation
571
572
if not block .transactions_info .aggregated_signature :
You can’t perform that action at this time.
0 commit comments