Skip to content

Commit

Permalink
Merge pull request #965 from binchengqu/master
Browse files Browse the repository at this point in the history
chore: fix some function names in comment
  • Loading branch information
jcvernaleo authored Nov 20, 2024
2 parents b4ff607 + 38bb598 commit 66a3aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waddrmgr/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ func newManagedAddressFromExtKey(s *ScopedKeyManager,
// clearTextScriptSetter is a non-exported interface to identify script types
// that allow their clear text script to be set.
type clearTextScriptSetter interface {
// setClearText sets the unencrypted script on the struct after
// setClearTextScript sets the unencrypted script on the struct after
// unlocking/decrypting it.
setClearTextScript([]byte)
}
Expand Down Expand Up @@ -800,7 +800,7 @@ func (a *baseScriptAddress) Internal() bool {
return false
}

// setClearText sets the unencrypted script on the struct after unlocking/
// setClearTextScript sets the unencrypted script on the struct after unlocking/
// decrypting it.
func (a *baseScriptAddress) setClearTextScript(script []byte) {
a.scriptClearText = make([]byte, len(script))
Expand Down

0 comments on commit 66a3aee

Please sign in to comment.