mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 07:23:25 +00:00
fix conflicting local txns, e.g. when using RBF
This commit is contained in:
parent
2a1e5238c8
commit
8a71e46e9b
1 changed files with 2 additions and 2 deletions
|
@ -607,7 +607,7 @@ class Abstract_Wallet(PrintError):
|
|||
x += v
|
||||
elif tx_height > 0:
|
||||
c += v
|
||||
else:
|
||||
elif tx_height != -2: # local tx
|
||||
u += v
|
||||
if txo in sent:
|
||||
if sent[txo] > 0:
|
||||
|
@ -824,7 +824,7 @@ class Abstract_Wallet(PrintError):
|
|||
h2.append((tx_hash, height, conf, timestamp, delta, balance))
|
||||
if balance is None or delta is None:
|
||||
balance = None
|
||||
else:
|
||||
elif height != -2: # local tx
|
||||
balance -= delta
|
||||
h2.reverse()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue