Skip to content

Commit 8d43c79

Browse files
committed
Fix output of CTxOut.__repl__
1 parent 2e887cf commit 8d43c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hwilib/tx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def is_witness(self) -> Tuple[bool, int, bytes]:
138138

139139
def __repr__(self) -> str:
140140
return "CTxOut(nValue=%i.%08i scriptPubKey=%s)" \
141-
% (self.nValue, self.nValue, self.scriptPubKey.hex())
141+
% (self.nValue // 100_000_000, self.nValue % 100_000_000, self.scriptPubKey.hex())
142142

143143

144144
class CScriptWitness(object):

0 commit comments

Comments
 (0)