Update cryptoconditions_rewards.py

This commit is contained in:
smk762
2019-03-25 20:01:40 +08:00
committed by GitHub
parent ebcbb234a8
commit 5aa85d7dad

View File

@@ -19,13 +19,11 @@ class CryptoconditionsRewardsTest(CryptoconditionsTestFramework):
rpc = self.nodes[0]
result = rpc.rewardsaddress()
for x in result.keys():
if x.find('ddress') > 0:
assert_equal(result[x][0], 'R')
result = rpc.rewardsaddress(self.pubkey)
for x in result.keys():
if x.find('ddress') > 0:
assert_equal(result[x][0], 'R')