Skip to content

Commit 99557fb

Browse files
author
slush
committed
Updated call parameters
1 parent dd1f5bd commit 99557fb

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎tests/test_basic.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ class TestBasic(unittest.TestCase):
1919
def setUp(self):
2020
self.debug_transport = config.DEBUG_TRANSPORT(*config.DEBUG_TRANSPORT_ARGS)
2121
self.transport = config.TRANSPORT(*config.TRANSPORT_ARGS)
22-
self.bitkey = BitkeyClient(self.transport, DebugLink(self.debug_transport), algo=proto.ELECTRUM)
22+
self.bitkey = BitkeyClient(self.transport, DebugLink(self.debug_transport), algo=proto.ELECTRUM, debug=True)
2323

24-
self.bitkey.setup_debuglink(pin_correct=True, otp_correct=True)
24+
self.bitkey.setup_debuglink(button=True, pin_correct=True, otp_correct=True)
2525

2626
self.bitkey.load_device(seed='beyond neighbor scratch swirl embarrass doll cause also stick softly physical nice',
27-
otp=True, pin='1234', spv=True, button=True)
27+
otp=True, pin='1234', spv=True)
2828

2929
print "Setup finished"
3030
print "--------------"

‎tests/test_signtx.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def setUp(self):
2323
def tearDown(self):
2424
self.debug_transport.close()
2525
self.transport.close()
26-
26+
27+
'''
2728
def test_signtx(self):
28-
print self.bitkey.sign_tx([], [])
29+
print self.bitkey.sign_tx([], [])
30+
'''

0 commit comments

Comments
 (0)