add debug for lookupCscFromPeer
This commit is contained in:
parent
9b79a9df5b
commit
53af511488
|
@ -2463,6 +2463,8 @@ proc lookupCscFromPeer*(peer: Peer): uint64 =
|
||||||
if enrFieldOpt.isOk:
|
if enrFieldOpt.isOk:
|
||||||
try:
|
try:
|
||||||
let csc = SSZ.decode(enrFieldOpt.get(), uint8)
|
let csc = SSZ.decode(enrFieldOpt.get(), uint8)
|
||||||
|
debug "LookupCscFromPeer: csc value",
|
||||||
|
csc = csc
|
||||||
return csc
|
return csc
|
||||||
except SszError as e:
|
except SszError as e:
|
||||||
debug "Could not decide the csc field in the ENR"
|
debug "Could not decide the csc field in the ENR"
|
||||||
|
|
Loading…
Reference in New Issue