mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
This commit is contained in:
parent
94a479f1c9
commit
fa9e2b4ec4
@ -429,7 +429,7 @@ proc routeSignedVoluntaryExit*(
|
|||||||
if not res.isGoodForSending:
|
if not res.isGoodForSending:
|
||||||
warn "Voluntary exit failed validation",
|
warn "Voluntary exit failed validation",
|
||||||
exit = shortLog(exit), error = res.error()
|
exit = shortLog(exit), error = res.error()
|
||||||
return err(res.error()[1])
|
return err(res.error()[1])
|
||||||
|
|
||||||
let res = await router[].network.broadcastVoluntaryExit(exit)
|
let res = await router[].network.broadcastVoluntaryExit(exit)
|
||||||
if res.isOk():
|
if res.isOk():
|
||||||
@ -449,7 +449,7 @@ proc routeAttesterSlashing*(
|
|||||||
if not res.isGoodForSending:
|
if not res.isGoodForSending:
|
||||||
warn "Attester slashing failed validation",
|
warn "Attester slashing failed validation",
|
||||||
slashing = shortLog(slashing), error = res.error()
|
slashing = shortLog(slashing), error = res.error()
|
||||||
return err(res.error()[1])
|
return err(res.error()[1])
|
||||||
|
|
||||||
let res = await router[].network.broadcastAttesterSlashing(slashing)
|
let res = await router[].network.broadcastAttesterSlashing(slashing)
|
||||||
if res.isOk():
|
if res.isOk():
|
||||||
@ -470,7 +470,7 @@ proc routeProposerSlashing*(
|
|||||||
if not res.isGoodForSending:
|
if not res.isGoodForSending:
|
||||||
warn "Proposer slashing request failed validation",
|
warn "Proposer slashing request failed validation",
|
||||||
slashing = shortLog(slashing), error = res.error()
|
slashing = shortLog(slashing), error = res.error()
|
||||||
return err(res.error()[1])
|
return err(res.error()[1])
|
||||||
|
|
||||||
let res = await router[].network.broadcastProposerSlashing(slashing)
|
let res = await router[].network.broadcastProposerSlashing(slashing)
|
||||||
if res.isOk():
|
if res.isOk():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user