@@ -115,7 +115,7 @@ def big_test(self):
115
115
self .log .info ("Calling reissue()..." )
116
116
address1 = n0 .getnewaddress ()
117
117
ipfs_hash2 = "QmcvyefkqQX3PpjpY5L8B2yMd47XrVwAipr6cxUt2zvYU8"
118
- n0 .reissue (asset_name = "MY_ASSET" , qty = 2000 , to_address = address0 , change_address = address1 , reissuable = False , new_unit = - 1 , new_ipfs = ipfs_hash2 )
118
+ n0 .reissue (asset_name = "MY_ASSET" , qty = 2000 , to_address = address0 , change_address = address1 , reissuable = False , new_units = - 1 , new_ipfs = ipfs_hash2 )
119
119
120
120
self .log .info ("Waiting for ten confirmations after reissue..." )
121
121
self .sync_all ()
@@ -281,7 +281,7 @@ def ipfs_state(self):
281
281
# reissue w/ bad hash
282
282
self .log .info ("Testing re-issue asset with invalid IPFS..." )
283
283
try :
284
- n0 .reissue (asset_name = asset_name2 , qty = 2000 , to_address = address1 , change_address = address2 , reissuable = True , new_unit = - 1 , new_ipfs = bad_hash )
284
+ n0 .reissue (asset_name = asset_name2 , qty = 2000 , to_address = address1 , change_address = address2 , reissuable = True , new_units = - 1 , new_ipfs = bad_hash )
285
285
except JSONRPCException as e :
286
286
if "Invalid IPFS/Txid hash" not in e .error ['message' ]:
287
287
raise AssertionError ("Expected substring not found:" + e .error ['message' ])
@@ -293,7 +293,7 @@ def ipfs_state(self):
293
293
########################################
294
294
# reissue w/ hash
295
295
self .log .info ("Testing re-issue asset with valid IPFS..." )
296
- n0 .reissue (asset_name = asset_name2 , qty = 2000 , to_address = address1 , change_address = address2 , reissuable = True , new_unit = - 1 , new_ipfs = ipfs_hash )
296
+ n0 .reissue (asset_name = asset_name2 , qty = 2000 , to_address = address1 , change_address = address2 , reissuable = True , new_units = - 1 , new_ipfs = ipfs_hash )
297
297
n0 .generate (1 )
298
298
ad = n0 .getassetdata (asset_name2 )
299
299
assert_equal (1 , ad ['has_ipfs' ])
0 commit comments