Skip to content

Commit 57aa653

Browse files
properly print sighashes
1 parent fa7e39d commit 57aa653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ def test_all(self):
483483
for j, (unspent, script) in enumerate(zip(utxo, self.all[i:i+3])):
484484
outs.append(TxOut(unspent['txout'].value - 1000000, j, script[0]))
485485
prev_types.append(script[2])
486-
print('Spending `{}`, sighashes: '.format(get_type(unspent['solver']),
487-
', '.join([str(sh) for sh in unspent['solver'].get_sighashes()])))
486+
print('Spending `{}`, sighashes: {}'.format(get_type(unspent['solver']),
487+
', '.join([str(sh) for sh in unspent['solver'].get_sighashes()])))
488488

489489
tx = MutableTransaction(2, ins, outs, Locktime(0))
490490
mutable = copy.deepcopy(tx)

0 commit comments

Comments
 (0)