wallet: "future" txns num conf is now negative
flipped the sign so that TxMinedInfo.conf can be consistently used in inequalities
This commit is contained in:
@@ -1024,7 +1024,7 @@ def ignore_exceptions(func):
|
||||
|
||||
class TxMinedInfo(NamedTuple):
|
||||
height: int # height of block that mined tx
|
||||
conf: Optional[int] = None # number of confirmations (None means unknown)
|
||||
conf: Optional[int] = None # number of confirmations, SPV verified (None means unknown)
|
||||
timestamp: Optional[int] = None # timestamp of block that mined tx
|
||||
txpos: Optional[int] = None # position of tx in serialized block
|
||||
header_hash: Optional[str] = None # hash of block that mined tx
|
||||
|
||||
Reference in New Issue
Block a user