Start adding tests for rewardsunlock
This commit is contained in:
@@ -207,6 +207,10 @@ class CryptoConditionsTest (BitcoinTestFramework):
|
|||||||
|
|
||||||
result = rpc.rewardsaddfunding("STUFF", txid, "100")
|
result = rpc.rewardsaddfunding("STUFF", txid, "100")
|
||||||
assert_equal(result['result'], 'success')
|
assert_equal(result['result'], 'success')
|
||||||
|
fundingtxid = result['hex']
|
||||||
|
assert fundingtxid, "got funding txid"
|
||||||
|
|
||||||
|
result = rpc.rewardsunlock("STUFF", fundingtxid)
|
||||||
|
|
||||||
def run_test (self):
|
def run_test (self):
|
||||||
print("Mining blocks...")
|
print("Mining blocks...")
|
||||||
|
|||||||
Reference in New Issue
Block a user