Skip to content

Commit 733a5fc

Browse files
committed
accounts: fix mismatched names in comments (ethereum#29348)
1 parent dfc0f11 commit 733a5fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

accounts/abi/argument.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (arguments Arguments) Copy(v interface{}, values []interface{}) error {
127127
return arguments.copyAtomic(v, values[0])
128128
}
129129

130-
// unpackAtomic unpacks ( hexdata -> go ) a single value
130+
// copyAtomic copies ( hexdata -> go ) a single value
131131
func (arguments Arguments) copyAtomic(v interface{}, marshalledValues interface{}) error {
132132
dst := reflect.ValueOf(v).Elem()
133133
src := reflect.ValueOf(marshalledValues)

accounts/keystore/account_cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var (
5151
}
5252
)
5353

54-
// waitWatcherStarts waits up to 1s for the keystore watcher to start.
54+
// waitWatcherStart waits up to 1s for the keystore watcher to start.
5555
func waitWatcherStart(ks *KeyStore) bool {
5656
// On systems where file watch is not supported, just return "ok".
5757
if !ks.cache.watcher.enabled() {

0 commit comments

Comments
 (0)