From 798686cb3c9fb1a7ce62c9886740261c292f094d Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Fri, 24 Aug 2018 00:32:18 +0200 Subject: [PATCH] Fix up --- qa/rpc-tests/cryptoconditions.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/qa/rpc-tests/cryptoconditions.py b/qa/rpc-tests/cryptoconditions.py index 21dc96560..11f237c71 100755 --- a/qa/rpc-tests/cryptoconditions.py +++ b/qa/rpc-tests/cryptoconditions.py @@ -128,13 +128,6 @@ class CryptoConditionsTest (BitcoinTestFramework): # TODO: stop this node, restart with diff pubkey - # confirm above tx - rpc.generate(1) - result = rpc.getwalletinfo() - - # we should have slightly more funds from the faucet now - assert_greater_than(result['balance'], balance2) - def run_dice_tests(self): rpc = self.nodes[0] @@ -181,8 +174,11 @@ class CryptoConditionsTest (BitcoinTestFramework): assert_equal(result['balance'], 0) assert_equal(result['result'], 'success') assert_equal(result['CCaddress'], 'RCRsm3VBXz8kKTsYaXKpy7pSEzrtNNQGJC') + tokenid = result['tokenid'] assert_equal(result['tokenid'], self.pubkey) + result = rpc.tokenorders(tokenid) + # this is not a valid assetid result = rpc.tokeninfo(self.pubkey) assert_error(result)