Viewing a response to: @furion/re-oflyhigh-steemdata-notify-confirmation-worker-code-study-of-steemdata-notify-part-two-20170709t175656325z
Hi @furion, Thank you very much for providing the `SteemData Notify` service. I had already explained the reasons for the different memo lengths in this article, Thank you again for the clarification. As for Bug, ``` settings = db.settings.find_one({'_id': _id}) if settings: db.settings.update_one( {'_id': _id, 'username': op['from']}, {'$set': {'confirmed': True}} ) ``` I think it would be better to change above code to: ``` settings = db.settings.find_one({'_id': _id, 'username': op['from']}) if settings: db.settings.update_one( {'_id': _id, 'username': op['from']}, {'$set': {'confirmed': True}} ) ``` Otherwise, It may cause minor problems in some extreme cases . I'll submit this issues on Github when I finished the study of your great code.
author | oflyhigh |
---|---|
permlink | re-furion-re-oflyhigh-steemdata-notify-confirmation-worker-code-study-of-steemdata-notify-part-two-20170710t004455280z |
category | cn |
json_metadata | {"tags":["cn"],"users":["furion"],"app":"steemit/0.1"} |
created | 2017-07-10 00:45:00 |
last_update | 2017-07-10 00:45:00 |
depth | 2 |
children | 0 |
last_payout | 2017-07-17 00:45:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 854 |
author_reputation | 6,360,684,687,598,887 |
root_title | "SteemData Notify 代码学习二: Confirmation Worker / Code Study of SteemData Notify: Part two" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 7,928,904 |
net_rshares | 0 |