actualize comment
This commit is contained in:
@@ -26,6 +26,8 @@ class CryptoconditionsChannelsTest(CryptoconditionsTestFramework):
|
|||||||
rpc = self.nodes[0]
|
rpc = self.nodes[0]
|
||||||
rpc1 = self.nodes[1]
|
rpc1 = self.nodes[1]
|
||||||
|
|
||||||
|
# TODO: check channelsaddress
|
||||||
|
|
||||||
# getting empty channels list
|
# getting empty channels list
|
||||||
result = rpc.channelslist()
|
result = rpc.channelslist()
|
||||||
assert_equal(len(result), 2)
|
assert_equal(len(result), 2)
|
||||||
@@ -143,7 +145,7 @@ class CryptoconditionsChannelsTest(CryptoconditionsTestFramework):
|
|||||||
refund_txid = self.send_and_mine(result["hex"], rpc)
|
refund_txid = self.send_and_mine(result["hex"], rpc)
|
||||||
assert refund_txid, "got txid"
|
assert refund_txid, "got txid"
|
||||||
|
|
||||||
# TODO: check if it refunded to opener address
|
# checking if it refunded to opener address
|
||||||
raw_transaction = rpc.getrawtransaction(refund_txid, 1)
|
raw_transaction = rpc.getrawtransaction(refund_txid, 1)
|
||||||
|
|
||||||
result = raw_transaction["vout"][2]["valueSat"]
|
result = raw_transaction["vout"][2]["valueSat"]
|
||||||
|
|||||||
Reference in New Issue
Block a user