You are viewing a single comment's thread from:

RE: Steem Curation Bot

in #utopian-io7 years ago (edited)

Thank you for the contribution. It has been approved.

I made 2 pull request to your repo to fix some issues.

  • problem with the package name
  • hard coded username in the script.

Then I've updated the config with my other steem account information, made the percentage 100%. Btw the variable name is confusing. config.steem.amount = 100 , you've re-used some code but you should rename this.

So maybe your formula needs some work because it would not let me vote. See error:

  payload: 
   { id: 12,
     error: 
      { code: 1,
        message: '10 assert_exception: Assert Exception\nabs_rshares > STEEMIT_VOTE_DUST_THRESHOLD || o.weight == 0: Voting weight is too small, please accumulate more voting power or steem power.\n    {}\n    th_a  steem_evaluator.cpp:1195 do_apply\n\n    {"o":{"voter":"cryptonewsly","author":"juecoree","permlink":"code-blocks-for-beginners-1-or-understanding-basic-c-programming-structure-and-function","weight":100}}\n    th_a  steem_evaluator.cpp:1504 do_apply\n\n    {"op":["vote",{"voter":"cryptonewsly","author":"juecoree","permlink":"code-blocks-for-beginners-1-or-understanding-basic-c-programming-structure-and-function","weight":100}]}\n    th_a  database.cpp:2893 _apply_transaction\n\n    {"trx":{"ref_block_num":9928,"ref_block_prefix":2468399217,"expiration":"2018-01-20T15:24:21","operations":[["vote",{"voter":"cryptonewsly","author":"juecoree","permlink":"code-blocks-for-beginners-1-or-understanding-basic-c-programming-structure-and-function","weight":100}]],"extensions":[],"signatures":["2031bb7ebddb167f5900f47f5264d3335db780bd2a28f65b5b9fde210f1607d65a430ea80fd74ba347a77b342c8250acda3a177a1a1f3c0ae2adde20fb44155f61"]}}\n    th_a  database.cpp:2897 _apply_transaction\n\n    {"trx":{"ref_block_num":9928,"ref_block_prefix":2468399217,"expiration":"2018-01-20T15:24:21","operations":[["vote",{"voter":"cryptonewsly","author":"juecoree","permlink":"code-blocks-for-beginners-1-or-understanding-basic-c-programming-structure-and-function","weight":100}]],"extensions":[],"signatures":["2031bb7ebddb167f5900f47f5264d3335db780bd2a28f65b5b9fde210f1607d65a430ea80fd74ba347a77b342c8250acda3a177a1a1f3c0ae2adde20fb44155f61"]}}\n    th_a  database.cpp:660 push_transaction\n\n    {"call.method":"call","call.params":["network_broadcast_api","broadcast_transaction_synchronous",[{"ref_block_num":9928,"ref_block_prefix":2468399217,"expiration":"2018-01-20T15:24:21","operations":[["vote",{"voter":"cryptonewsly","author":"juecoree","permlink":"code-blocks-for-beginners-1-or-understanding-basic-c-programming-structure-and-function","weight":100}]],"extensions":[],"signatures":["2031bb7ebddb167f5900f47f5264d3335db780bd2a28f65b5b9fde210f1607d65a430ea80fd74ba347a77b342c8250acda3a177a1a1f3c0ae2adde20fb44155f61"]}]]}\n    th_a  websocket_api.cpp:124 on_message',
        data: [Object] } } } undefined

Also, I would like to suggest you try cloning your own repo, then trying the instruction for yourself, then running the code. You would have discovered some of the issues here.

You can contact us on Discord.
[utopian-moderator]

Sort:  

I merged your pull requests. I'm assuming the STEEMIT_VOTE_DUST_THRESHOLD error happens with accounts that have smaller amounts of SP.

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.029
BTC 66552.34
ETH 3451.80
USDT 1.00
SBD 2.65