1
0

address_sync: split off unconfirmed_tx from unverified_tx

This commit is contained in:
SomberNight
2022-04-04 15:47:56 +02:00
parent 837fc1606c
commit a05ef140d6
2 changed files with 36 additions and 15 deletions

View File

@@ -187,7 +187,8 @@ class SPV(NetworkJobOnDefaultServer):
self.requested_merkle.discard(tx_hash)
def is_up_to_date(self):
return not self.requested_merkle
return (not self.requested_merkle
and not self.wallet.unverified_tx)
def verify_tx_is_in_block(tx_hash: str, merkle_branch: Sequence[str],