sharding/contracts: collator -> notary

Former-commit-id: baa704eda89c6f51e8a8419550bd1f40ef378625 [formerly 277726a6ee2d899ae2f9cc428213205531356d0a]
Former-commit-id: 8ef9b8fe4bdbf4e0f7591c458b4cb7f37b81db61
This commit is contained in:
Terence Tsao 2018-05-13 15:49:06 -07:00
parent 248f245f9f
commit 16c5158cb9

View File

@ -72,9 +72,9 @@ func checkSMCForNotary(c client.Client, head *types.Header) error {
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 {
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)
if err != nil {
return fmt.Errorf("could not add collation. %v", err)