add debug for lookupCscFromPeer

This commit is contained in:
Agnish Ghosh 2024-09-18 16:34:53 +05:30
parent 9b79a9df5b
commit 53af511488
1 changed files with 2 additions and 0 deletions

View File

@ -2463,6 +2463,8 @@ proc lookupCscFromPeer*(peer: Peer): uint64 =
if enrFieldOpt.isOk:
try:
let csc = SSZ.decode(enrFieldOpt.get(), uint8)
debug "LookupCscFromPeer: csc value",
csc = csc
return csc
except SszError as e:
debug "Could not decide the csc field in the ENR"