Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
fix error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Mar 21, 2022
1 parent a2b0936 commit fd6928b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/poc/miner_poc_mgr.erl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ check_target(Challengee, BlockHash, OnionKeyHash) ->
false;
{ok, #local_poc{block_hash = _OtherBlockHash, target = _Target}} ->
e2qc:evict(local_pocs, OnionKeyHash),
{error, mismatched_block_hash}
{error, <<"mismatched_block_hash">>}
end;
_ ->
lager:info("*** ~p is NOT a known key", [OnionKeyHash]),
Expand All @@ -244,7 +244,7 @@ check_target(Challengee, BlockHash, OnionKeyHash) ->
{ok, #local_poc{block_hash = BlockHash, target = _OtherTarget}} ->
false;
{ok, #local_poc{block_hash = _OtherBlockHash, target = _Target}} ->
{error, mismatched_block_hash};
{error, <<"mismatched_block_hash">>};
_ ->
false
end,
Expand Down

0 comments on commit fd6928b

Please sign in to comment.