Skip to content

Commit

Permalink
fix: ECDSA revert key size (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
vird authored Jan 16, 2025
1 parent 324923a commit c336e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/arweave/src/ar_serialize.erl
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ parse_block_post_2_6_fields(B, << HashPreimageSize:8, HashPreimage:HashPreimageS
RecallByte2_2 = case RecallByte2Size of 0 -> undefined; _ -> RecallByte2 end,
SigType =
case {RewardKeySize, Height >= ar_fork:height_2_9()} of
{32, true} ->
{?ECDSA_PUB_KEY_SIZE, true} ->
?ECDSA_KEY_TYPE;
_ ->
?RSA_KEY_TYPE
Expand Down

0 comments on commit c336e3d

Please sign in to comment.