projects
/
crowdnode.js
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fbf5203
)
fix(stake): set generated/imported key as default for all actions
author
AJ ONeal
<coolaj86@gmail.com>
Mon, 27 Jun 2022 15:51:55 +0000
(09:51 -0600)
committer
AJ ONeal
<coolaj86@gmail.com>
Mon, 27 Jun 2022 15:51:55 +0000
(09:51 -0600)
bin/crowdnode.js
patch
|
blob
|
history
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)
,
);
}
);
}