Skip to content

Commit

Permalink
Fix issue #384 (#404)
Browse files Browse the repository at this point in the history
* update release flag

* increase version to 2.0.3.1

* fix issue #384

---------

Co-authored-by: tri <tri282@gmail.com>
Co-authored-by: Bigpiggy01 <50628656+Bigpiggy01@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 10, 2024
1 parent 2c478eb commit 559919b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
snapshot-version=2.0.3.99-SNAPSHOT
release-version=2.0.3.00
candidate-version=2.0.3.00-candidate
release-version=2.0.3.01
candidate-version=2.0.3.01-candidate
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ AC_PREREQ([2.69])
define(_CLIENT_VERSION_MAJOR, 2)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 03)
define(_CLIENT_VERSION_BUILD, 99)
define(_CLIENT_VERSION_IS_RELEASE, false)
define(_CLIENT_VERSION_BUILD, 01)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2024)
define(_COPYRIGHT_HOLDERS,[The %s developers])
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Raptoreum Core]])
Expand Down
8 changes: 6 additions & 2 deletions src/rpc/rpcassets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ UniValue createasset(const JSONRPCRequest &request) {
"\nArguments:\n"
"1. \"asset\" (string, required) A json object with asset metadata\n"
"{\n"
" \"name:\" (string) Asset name\n"
" \"name:\" (string) Asset name (must be uppercase for root asset)\n"
" \"updatable:\" (bool, optional, default=true) if true this asset can be modify using reissue process.\n"
" \"is_root:\" (bool, required) if this asset is root.\n"
" \"root_name:\" (string) the root asset name for this sub asset.\n"
Expand All @@ -78,9 +78,13 @@ UniValue createasset(const JSONRPCRequest &request) {

"\nExamples:\n"
+ HelpExampleCli("createasset",
"'{\"name\":\"test asset\", \"updatable\":true, \"isunique\":false, \"maxMintCount\":10, \n"
"'{\"name\":\"TEST ASSET\", \"updatable\":true, \"is_root\":true, \"isunique\":false, \"maxMintCount\":10, \n"
"\"decimalpoint\":2, \"referenceHash\":\"\", \"type\":0, \"targetAddress\":\"yQPzaDmnF3FtRsoWijUN7aZDcEdyNAcmVk\", \n"
"\"issueFrequency\":0, \"amount\":10000,\"ownerAddress\":\"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM\"}'")
+ HelpExampleCli("createasset",
"'{\"name\":\"sub test asset\", \"is_root\":false, \"root_name\":\"TEST ASSET\", \"isunique\":false, \"maxMintCount\":10, \n"
"\"decimalpoint\":2, \"referenceHash\":\"\", \"type\":0, \"targetAddress\":\"yQPzaDmnF3FtRsoWijUN7aZDcEdyNAcmVk\", \n"
"\"issueFrequency\":0, \"amount\":10000,\"ownerAddress\":\"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM\"}'")
);

if (getAssetsFees() == 0) {
Expand Down

0 comments on commit 559919b

Please sign in to comment.