add
This commit is contained in:
@@ -8,9 +8,6 @@ total_rewards=0
|
||||
files=$(find . -maxdepth 2 -type f -name "*.json")
|
||||
for keyfile in $files;
|
||||
do
|
||||
if [ -f ./rpc_config ]; then
|
||||
source ./rpc_config
|
||||
fi
|
||||
rewards=$(ore --rpc $rpc --keypair $keyfile rewards 2>/dev/null | sed 's/ ORE//')
|
||||
total_rewards=$(echo "$total_rewards + $rewards" | bc)
|
||||
echo $keyfile $rewards ORE
|
||||
|
||||
Reference in New Issue
Block a user