add success logging for being configured to use payload builder (#4653)

This commit is contained in:
tersec 2023-02-23 10:46:18 +01:00 committed by GitHub
parent 6036f2e7d7
commit c6cefd8914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -675,6 +675,10 @@ proc init*(T: type BeaconNode,
else:
nil
if config.payloadBuilderEnable and payloadBuilderRestClient != nil:
info "Using external payload builder",
payloadBuilderUrl = config.payloadBuilderUrl
let node = BeaconNode(
nickname: nickname,
graffitiBytes: if config.graffiti.isSome: config.graffiti.get