Skip to content

Commit

Permalink
real block and sig
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshmuelov committed Jan 18, 2024
1 parent 1b5ca7e commit d44b38a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 25 deletions.
2 changes: 1 addition & 1 deletion core/master_derivable_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ func (master *MasterDerivableKey) Derive(relativePath string) (*HDKey, error) {
}

func validateRelativePath(relativePath string) bool {
match, _ := regexp.MatchString(`^(\/(\d\d?\d?))+$`, relativePath)
match, _ := regexp.MatchString(`^\/\d+(\/0)(\/0)?$`, relativePath)
return match
}
27 changes: 14 additions & 13 deletions signer/sign_beacon_block_test.go

Large diffs are not rendered by default.

26 changes: 15 additions & 11 deletions signer/sign_blinded_beacon_block_test.go

Large diffs are not rendered by default.

0 comments on commit d44b38a

Please sign in to comment.