RE: Steem Rat Voter - Upvote and Resteem bot 0.1 Beta

You are viewing a single comment's thread from:

Steem Rat Voter - Upvote and Resteem bot 0.1 Beta

in steemrat •  7 years ago 

Yeah. When I noticed it, you already fixed it.
I am now considering writing a limit of how many times my bot would refund the same transaction. If it is more than 3 times, just take the money.

I just need to find the time to write it. I am very busy lately.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Probably not often this happen, but better safe than sorry.
It was quite a sight watching the wallet, both bots complaining in order :)

Just add in a code like this:

  •   if(retries < 2)
     setTimeout(function() { sendVote(bid, retries + 1, callback); }, 10000);
     else {
     utils.log('============= Vote transaction failed three times for: @' + bid.author + '/' + bid.permlink + '       Bid Amount: ' + bid.amount + ' ' + bid.currency + ' ===============');
     logFailedBid(bid, err);
     }
    

I did however raise the refund limit to 0.002 so the memo advertizers don't get a refund.

raising the limit is actually the smarter idea. I like it! I'll probably do that too.

A lot easier plus it will add to the bottom line over time :)

Are you adding to my bottom line? What happened? I have not sent a memo now I believe?