Tiny grammar correction

This function should only `by` used by applications that need to create custom ExtendedKeys. => This function should only `be` used by applications that need to create custom ExtendedKeys
This commit is contained in:
gipsy 2020-08-16 07:06:42 -04:00 committed by John C. Vernaleo
parent 5f93e33af2
commit 4232759481

View file

@ -119,7 +119,7 @@ type ExtendedKey struct {
// NewExtendedKey returns a new instance of an extended key with the given // NewExtendedKey returns a new instance of an extended key with the given
// fields. No error checking is performed here as it's only intended to be a // fields. No error checking is performed here as it's only intended to be a
// convenience method used to create a populated struct. This function should // convenience method used to create a populated struct. This function should
// only by used by applications that need to create custom ExtendedKeys. All // only be used by applications that need to create custom ExtendedKeys. All
// other applications should just use NewMaster, Child, or Neuter. // other applications should just use NewMaster, Child, or Neuter.
func NewExtendedKey(version, key, chainCode, parentFP []byte, depth uint8, func NewExtendedKey(version, key, chainCode, parentFP []byte, depth uint8,
childNum uint32, isPrivate bool) *ExtendedKey { childNum uint32, isPrivate bool) *ExtendedKey {