We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecbc1b commit 4f6a9d3Copy full SHA for 4f6a9d3
ansible/roles/mixing/templates/remix.sh.j2
@@ -1,9 +1,9 @@
1
#!/bin/bash
2
3
-result=$(dash-cli getbalances)
+result=$(dash-cli -rpcwallet={{coinjoin_wallet_name}} getbalances)
4
coinjoin_value=$(echo "$result" | jq '.mine.coinjoin')
5
6
# Check if coinjoin_value is greater than remix_amount (default 30)
7
if (( $(echo "$coinjoin_value > {{ remix_amount }}" | bc -l) )); then
8
- dash-cli sendtoaddress {{ mixers[inventory_hostname].owner.address }} {{ remix_amount }} "" "" true true true 2>&1 | /dash/timestamp.sh >> /dash/remix.cron.log
+ dash-cli -rpcwallet={{coinjoin_wallet_name}} sendtoaddress {{ mixers[inventory_hostname].owner.address }} {{ remix_amount }} "" "" true true true 2>&1 | /dash/timestamp.sh >> /dash/remix.cron.log
9
fi
0 commit comments