Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: binchengqu <[email protected]>
  • Loading branch information
binchengqu committed Nov 20, 2024
1 parent b4ff607 commit 38bb598
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 38bb598

Please sign in to comment.