From 408912290ace8ec7f97ac02cb2e08f10f4c345d1 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Fri, 7 Jun 2019 10:01:36 +0200 Subject: [PATCH] Better explain the 8-decimal asset issuance. --- src/wallet/rpcwallet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 4c4578554c..beada87e18 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -5960,8 +5960,8 @@ UniValue issueasset(const JSONRPCRequest& request) "For more fine-grained control such as non-empty contract-hashes to commit\n" "to an issuance policy, see `rawissueasset` RPC call.\n", { - {"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of asset to generate."}, - {"tokenamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of reissuance tokens to generate. These will allow you to reissue the asset if in wallet using `reissueasset`. These tokens are not consumed during reissuance."}, + {"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of asset to generate. Note that the amount is BTC-like, with 8 decimal places."}, + {"tokenamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of reissuance tokens to generate. Note that the amount is BTC-like, with 8 decimal places. These will allow you to reissue the asset if in wallet using `reissueasset`. These tokens are not consumed during reissuance."}, {"blind", RPCArg::Type::BOOL , /* default */ "true", "Whether to blind the issuances."}, }, RPCResult{ @@ -6060,7 +6060,7 @@ UniValue reissueasset(const JSONRPCRequest& request) "For more fine-grained control such as reissuing from a multi-signature address cold wallet, see `rawreissueasset` RPC call.\n", { {"asset", RPCArg::Type::STR, RPCArg::Optional::NO, "The asset you want to re-issue. The corresponding token must be in your wallet."}, - {"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of additional asset to generate."}, + {"assetamount", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "Amount of additional asset to generate. Note that the amount is BTC-like, with 8 decimal places."}, }, RPCResult{ "{ (json object)\n"