Auto merge of #3541 - leto:amount_docs, r=bitcartel
Clarify in sendmany/z_sendmany rpc docs that amounts are not FP Fixes #3539 I clarified in the docs that only 8 digits of precision are allowed. For example, if you try 9 digits you will get: ``` zcash-cli z_sendmany $TADDR "[{\"address\":\"$ZADDR\",\"amount\":0.123456789}]" error code: -3 error message: Invalid amount ```
This commit is contained in:
@@ -39,7 +39,7 @@ RPC parameter conventions:
|
||||
* taddr : Transparent address
|
||||
* zaddr : Private address
|
||||
* address : Accepts both private and transparent addresses.
|
||||
* amount : JSON format double-precision number with 1 ZC expressed as 1.00000000.
|
||||
* amount : JSON format decimal number with at most 8 digits of precision, with 1 ZEC expressed as 1.00000000.
|
||||
* memo : Metadata expressed in hexadecimal format. Limited to 512 bytes, the current size of the memo field of a private transaction. Zero padding is automatic.
|
||||
|
||||
### Accounting
|
||||
|
||||
Reference in New Issue
Block a user