Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Fix incorrect witness bad rssi check #326

Merged
merged 3 commits into from
Dec 20, 2019

Conversation

vihu
Copy link
Member

@vihu vihu commented Dec 18, 2019

  • Hide behind PoC V6

@vihu vihu force-pushed the rg/fix-incorrect-bad-rssi-witness-check branch from a176bf4 to 17121e1 Compare December 19, 2019 03:06
@codecov
Copy link

codecov bot commented Dec 19, 2019

Codecov Report

Merging #326 into master will increase coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
+ Coverage    70.1%   70.13%   +0.02%     
==========================================
  Files          66       66              
  Lines        6303     6304       +1     
==========================================
+ Hits         4419     4421       +2     
+ Misses       1884     1883       -1
Impacted Files Coverage Δ
src/transactions/v1/blockchain_txn_vars_v1.erl 56.16% <ø> (ø) ⬆️
src/blockchain_poc_path_v2.erl 0% <0%> (ø) ⬆️
src/ledger/v1/blockchain_ledger_v1.erl 78.23% <0%> (ø) ⬆️
src/blockchain.erl 81.46% <0%> (ø) ⬆️
src/blockchain_worker.erl 47.98% <0%> (+0.8%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c66868...17121e1. Read the comment docs.

evanmcc
evanmcc previously approved these changes Dec 19, 2019
@@ -326,10 +326,16 @@ check_witness_bad_rssi(Witness, Vars) ->
0 ->
%% No bad RSSIs found, include
true;
BadCount when is_integer(V), V > 5 ->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in my heart, I would prefer that this be V >= 6, but that is very minor.

@evanmcc evanmcc merged commit 030d3f4 into master Dec 20, 2019
@evanmcc evanmcc deleted the rg/fix-incorrect-bad-rssi-witness-check branch December 20, 2019 00:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants