Open morismc09 opened 2 weeks ago
{"level":"error","time":1726365535557,"id":"0x99450115ab4680dc4274101f5e8c6597bf6a6b4aa4585983cf745c478e3d305a","sourceNetwork":"blss","destinationNetwork":"blss","asset":0,"rewardAsset":"0x0000000000000000000000000000000000000000","amount":"0.010004560562522365","maxReward":"0.010004635021281245","sourceAccount":"0xA9E410FFCcDfeBE92a951Fed1f198c886E0Fc0B3","targetAccount":"0xa9e410ffccdfebe92a951fed1f198c886e0fc0b3","txHash":"0x9141c9b19c07c75d002c4308871a5e0f6000a2f84ecbfc848409f90f2a5351d8","error":"Cannot read properties of undefined (reading 'getBalance')","msg":"🚨 Error fetching balance of source wallet"} server-out.js:97880 { wallet: this.wallet[order.destination].address }, ^
TypeError: Cannot read properties of undefined (reading 'address') at Executor.processNewOrder (server-out.js:97880:50) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.11.1
It is not a solution, what it does is that when the script stops it runs again Create a sh file, run the following command
vim run_executor.sh copy the following code
#!/bin/bash
while true; do
./executor
sleep 5 # Wait 5 seconds before restarting
done
Save the file
Make an executable
chmod +x run_executor.sh
Run
it: ./run_executor.sh
i got the same problem, any solutions ?
The problem of the script stopping was solved.
Affected version: v0.21.0
When I try to start my executor with the following configuration, the node throws an error message.
Here is the Executer script:
This is the error message that I receive: