Skip to content

Commit

Permalink
Release/pre prod (#711)
Browse files Browse the repository at this point in the history
* 2.16.1

* add api of contract code (#684)

Co-authored-by: MIMIEYES <pierreluohao@gmail.com>

* Modify a document

* en

* p19

* 2.19.0

* 2.19.0

* 2.19.0

* add cross asset cmd check

* 2.19.0

---------

Co-authored-by: niels1286 <niels@nuls.io>
Co-authored-by: MIMIEYES <pierreluohao@gmail.com>
Co-authored-by: Jason <jasonchou82111@gmail.com>
Co-authored-by: cobble586 <cobble2626@gmail.com>
  • Loading branch information
5 people authored Feb 18, 2024
1 parent d508870 commit 141f9e0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ public Response mainNetAssetReg(Map params) {
if (dbChain.isDelete()) {
return failed(CmErrorCode.ERROR_CHAIN_REG_CMD);
}
if (assetService.assetExist(asset) && asset.isAvailable()) {
return failed(CmErrorCode.ERROR_ASSET_ID_EXIST);
}
// if (assetService.assetExist(asset) && asset.isAvailable()) {
// return failed(CmErrorCode.ERROR_ASSET_ID_EXIST);
// }
/* Assembly transaction sending (Send transaction) */
Transaction tx = new AddAssetToChainTransaction();
LoggerUtil.COMMON_LOG.debug("version= {}", ChainManagerUtil.getVersion(CmRuntimeInfo.getMainIntChainId()));
Expand Down

0 comments on commit 141f9e0

Please sign in to comment.