Fixing a Bug in Cryptocurrency Bot (Again)

in #witness-category6 years ago

A few days ago, I fixed a bug in the Cryptocurrency Bot (Discord) - which can be installed via the following link:

https://discord.com/login?redirect_to=%2Foauth2%2Fauthorize%3Fclient_id%3D417847038697406467%26permissions%3D522304%26scope%3Dbot

Till today - it has been added to 128 discord servers!

image.png

Bug

image.png

The bug was caused by the fail-over calculation - which needs to be inverted - but wasn't.

I was able to fix it and add a test to ensure this won't break again.

image.png

Every little helps! I hope this helps!

Steem On!~

If you like my work, please consider voting for me or Buy Me a Coffee, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE



Alternatively, you could proxy to me if you are too lazy to vote!

Also: you can vote me at the tool I made: https://steemyy.com/witness-voting/?witness=justyy

Sort:  

請問行長,米高說代理600SP以上,一天都有兩到三帖點讚,可是我從之前代理600到現在代理1000,每天都只有一帖被點讚,而且還是每天早上固定八點來點,不知道是哪裡設定有問題?麻煩行長幫查一下,感謝您~~

600 是很久以前了,现在是1500 - 这个限制在将来会适当提升,因为代理的人实在是太多了,没能量点不过来了。

原來是這樣,所以,若早些前代理的人,只要600就有二到三帖的點讚,而現在要代理1500,才有二到三帖的點讚是嗎?
難怪我之前看很多人只代理六百就可點好幾帖,我卻都沒有....
若我現在代理1500,就可有二到三帖的點讚,那之後限制提昇,也不會影響我了,是嗎?

行長的點讚人氣旺啊,才會代理越來越多^^
謝謝您的答覆。

现在统一1500了。

好,知道了,謝謝行長~~^^

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.088
BTC 59993.95
ETH 1578.05
USDT 1.00
SBD 0.42