Skip to content

Commit

Permalink
change Bal() to Balance() in test as well
Browse files Browse the repository at this point in the history
  • Loading branch information
adiabat committed May 9, 2017
1 parent 3f0d5c5 commit 6f9307a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_lit.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def testLit():

# Send funds from the bitcoin node to lit node 0
#print(litnode0.Bal())
bal = litnode0.Bal()['result']['Balances'][0]["TxoTotal"]
bal = litnode0.Balance()['result']['Balances'][0]["TxoTotal"]
print("previous bal: " + str(bal))
addr = litnode0.rpc.new_address()
bcnode.sendtoaddress(address=addr["result"]["LegacyAddresses"][0], amount=12.34)
Expand All @@ -152,7 +152,7 @@ def testLit():
# wait for transaction to be received (5 seconds timeout)
for i in range(50):
time.sleep(0.1)
balNew = litnode0.Bal()['result']["Balances"][0]["TxoTotal"]
balNew = litnode0.Balance()['result']["Balances"][0]["TxoTotal"]
if balNew - bal == 1234000000:
print("Transaction received. Current balance = %s" % balNew)
break
Expand Down

0 comments on commit 6f9307a

Please sign in to comment.