mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 18:21:20 +00:00
sharding/contracts: collator -> notary
Former-commit-id: baa704eda89c6f51e8a8419550bd1f40ef378625 [formerly 277726a6ee2d899ae2f9cc428213205531356d0a] Former-commit-id: 8ef9b8fe4bdbf4e0f7591c458b4cb7f37b81db61
This commit is contained in:
parent
248f245f9f
commit
16c5158cb9
@ -72,9 +72,9 @@ func checkSMCForNotary(c client.Client, head *types.Header) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the account is selected as collator, submit collation.
|
// If the account is selected as notary, submit collation.
|
||||||
if addr == c.Account().Address {
|
if addr == c.Account().Address {
|
||||||
log.Info(fmt.Sprintf("Selected as collator on shard: %d", s))
|
log.Info(fmt.Sprintf("Selected as notary on shard: %d", s))
|
||||||
err := submitCollation(s)
|
err := submitCollation(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("could not add collation. %v", err)
|
return fmt.Errorf("could not add collation. %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user