Browse Source

Start adding tests for rewardsunlock

pull/4/head
Jonathan "Duke" Leto 6 years ago
parent
commit
84b40e08a2
  1. 4
      qa/rpc-tests/cryptoconditions.py

4
qa/rpc-tests/cryptoconditions.py

@ -207,6 +207,10 @@ class CryptoConditionsTest (BitcoinTestFramework):
result = rpc.rewardsaddfunding("STUFF", txid, "100")
assert_equal(result['result'], 'success')
fundingtxid = result['hex']
assert fundingtxid, "got funding txid"
result = rpc.rewardsunlock("STUFF", fundingtxid)
def run_test (self):
print("Mining blocks...")

Loading…
Cancel
Save