bot: reduce the traffic and check the wallet array

Using get_my_wallet() function to retrieve the wallet data
and check if the return value is reasonable.

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>