From 38bb598436990c95ff41ab838f6c986288f320fe Mon Sep 17 00:00:00 2001 From: binchengqu Date: Wed, 20 Nov 2024 22:32:48 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: binchengqu --- waddrmgr/address.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waddrmgr/address.go b/waddrmgr/address.go index 547cc9a4ca..55882ce785 100644 --- a/waddrmgr/address.go +++ b/waddrmgr/address.go @@ -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) } @@ -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))