Browse Source

Revert "fix conflicting local txns, e.g. when using RBF"

This reverts commit 8a71e46e9b.
3.1
SomberNight 7 years ago
parent
commit
48e8bbff69
  1. 4
      lib/wallet.py

4
lib/wallet.py

@ -613,7 +613,7 @@ class Abstract_Wallet(PrintError):
x += v x += v
elif tx_height > 0: elif tx_height > 0:
c += v c += v
elif tx_height != TX_HEIGHT_LOCAL: else:
u += v u += v
if txo in sent: if txo in sent:
if sent[txo] > 0: if sent[txo] > 0:
@ -830,7 +830,7 @@ class Abstract_Wallet(PrintError):
h2.append((tx_hash, height, conf, timestamp, delta, balance)) h2.append((tx_hash, height, conf, timestamp, delta, balance))
if balance is None or delta is None: if balance is None or delta is None:
balance = None balance = None
elif height != TX_HEIGHT_LOCAL: else:
balance -= delta balance -= delta
h2.reverse() h2.reverse()

Loading…
Cancel
Save