Update cryptoconditions_rewards.py
This commit is contained in:
@@ -19,13 +19,11 @@ class CryptoconditionsRewardsTest(CryptoconditionsTestFramework):
|
|||||||
rpc = self.nodes[0]
|
rpc = self.nodes[0]
|
||||||
|
|
||||||
result = rpc.rewardsaddress()
|
result = rpc.rewardsaddress()
|
||||||
|
|
||||||
for x in result.keys():
|
for x in result.keys():
|
||||||
if x.find('ddress') > 0:
|
if x.find('ddress') > 0:
|
||||||
assert_equal(result[x][0], 'R')
|
assert_equal(result[x][0], 'R')
|
||||||
|
|
||||||
result = rpc.rewardsaddress(self.pubkey)
|
result = rpc.rewardsaddress(self.pubkey)
|
||||||
|
|
||||||
for x in result.keys():
|
for x in result.keys():
|
||||||
if x.find('ddress') > 0:
|
if x.find('ddress') > 0:
|
||||||
assert_equal(result[x][0], 'R')
|
assert_equal(result[x][0], 'R')
|
||||||
|
|||||||
Reference in New Issue
Block a user