projects
/
crowdnode.js
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat!: redenominate Dash/Duff and Percent/Permille for CLI, fix incorrect accept...
[crowdnode.js/.git]
/
lib
/
crowdnode.js
diff --git
a/lib/crowdnode.js
b/lib/crowdnode.js
index 977c022e1d8af2aea2859731168a2626ce4db37c..5c5401fd5f779d7d0ca23c5352b7b6f10fdae43e 100644
(file)
--- a/
lib/crowdnode.js
+++ b/
lib/crowdnode.js
@@
-201,7
+201,7
@@
CrowdNode.accept = async function (wif, hotwallet) {
/**
* @param {String} wif
* @param {String} hotwallet
/**
* @param {String} wif
* @param {String} hotwallet
- * @param {Number} amount
+ * @param {Number} amount
- Duffs (1/100000000 Dash)
*/
CrowdNode.deposit = async function (wif, hotwallet, amount) {
// Send Request Message
*/
CrowdNode.deposit = async function (wif, hotwallet, amount) {
// Send Request Message
@@
-229,7
+229,7
@@
CrowdNode.deposit = async function (wif, hotwallet, amount) {
/**
* @param {String} wif
* @param {String} hotwallet
/**
* @param {String} wif
* @param {String} hotwallet
- * @param {Number} permil - 1/1000 (
percent, but per thousand)
+ * @param {Number} permil - 1/1000 (
1/10 of a percent) 500 permille = 50.0 percent
*/
CrowdNode.withdrawal = async function (wif, hotwallet, permil) {
let valid = permil > 0 && permil <= 1000;
*/
CrowdNode.withdrawal = async function (wif, hotwallet, permil) {
let valid = permil > 0 && permil <= 1000;