Skip to content

Commit

Permalink
fix path array size
Browse files Browse the repository at this point in the history
  • Loading branch information
ftheirs committed Oct 12, 2023
1 parent 6376f7b commit 6bb79e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func GetBip32bytesv1(bip32Path []uint32, hardenCount int) ([]byte, error) {
}

func GetBip32bytesv2(bip44Path []uint32, hardenCount int) ([]byte, error) {
message := make([]byte, 40)
message := make([]byte, 20)
if len(bip44Path) != 5 {
return nil, fmt.Errorf("path should contain 5 elements")
}
Expand Down

0 comments on commit 6bb79e0

Please sign in to comment.