Skip to content

Commit 844a942

Browse files
committed
limit obsoleteCmdOpt to type object
1 parent da1056e commit 844a942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/nimbus_binary_common.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ proc setupTaskpool*(numThreads: int): Taskpool =
192192

193193
taskpool
194194

195-
proc obsoleteCmdOpt*(ConfType: type, opt, msg: string) =
195+
proc obsoleteCmdOpt*(ConfType: type object, opt, msg: string) =
196196
if msg.len == 0:
197197
warn "Ignoring deprecated configuration option", opt
198198
else:

0 commit comments

Comments
 (0)