mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-10-04 06:48:03 +03:00
Don't needlessly call spend_bundle.additions() in test_subscribe_for_coin_id (#17255)
Don't needlessly call tx_record.spend_bundle.additions() in test_subscribe_for_coin_id.
This commit is contained in:
parent
001cccfffb
commit
d08c0697a4
@ -288,8 +288,6 @@ class TestSimpleSyncProtocol:
|
|||||||
uint64(10), puzzle_hash, DEFAULT_TX_CONFIG, uint64(0)
|
uint64(10), puzzle_hash, DEFAULT_TX_CONFIG, uint64(0)
|
||||||
)
|
)
|
||||||
|
|
||||||
tx_record.spend_bundle.additions()
|
|
||||||
|
|
||||||
added_target: Optional[Coin] = None
|
added_target: Optional[Coin] = None
|
||||||
for coin in tx_record.spend_bundle.additions():
|
for coin in tx_record.spend_bundle.additions():
|
||||||
if coin.puzzle_hash == puzzle_hash:
|
if coin.puzzle_hash == puzzle_hash:
|
||||||
|
Loading…
Reference in New Issue
Block a user