projects
/
crowdnode.js
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix(stake): set generated/imported key as default for all actions
[crowdnode.js/.git]
/
bin
/
crowdnode.js
diff --git
a/bin/crowdnode.js
b/bin/crowdnode.js
index 4f8a4796a2e3b46c5948d3b0d0e816da124715b8..193e7cd72a30dbb2e0f78206b6d37503d3338a98 100755
(executable)
--- a/
bin/crowdnode.js
+++ b/
bin/crowdnode.js
@@
-452,14
+452,14
@@
async function stakeDash(
if (!state.status?.accept) {
if (!state.status?.signup) {
if (!state.status?.accept) {
if (!state.status?.signup) {
- await sendSignup({ dashApi, defaultAddr: addr, insightBaseUrl }, []);
+ await sendSignup({ dashApi, defaultAddr: addr, insightBaseUrl }, [
addr
]);
}
}
- await acceptTerms({ dashApi, defaultAddr: addr, insightBaseUrl }, []);
+ await acceptTerms({ dashApi, defaultAddr: addr, insightBaseUrl }, [
addr
]);
}
await depositDash(
{ dashApi, defaultAddr: addr, insightBaseUrl, noReserve },
}
await depositDash(
{ dashApi, defaultAddr: addr, insightBaseUrl, noReserve },
-
args
,
+
[addr].concat(args)
,
);
}
);
}