Closed vihu closed 2 years ago
Dialyzer complains on master branch with:
src/ledger/v1/blockchain_ledger_v1.erl Line 2194 Column 37: The variable _ can never match since previous clauses completely covered the type 'ok'
blockchain_ledger_v1:cache_put can never actually return any error, this propagates that up the stack and fixes the call to promote_to_public_poc/2.
blockchain_ledger_v1:cache_put
promote_to_public_poc/2
Problem
Dialyzer complains on master branch with:
Solution
blockchain_ledger_v1:cache_put
can never actually return any error, this propagates that up the stack and fixes the call topromote_to_public_poc/2
.