network: fix grammar typo in the error message

This commit is contained in:
Anna Shaleva 2023-02-20 11:08:07 +03:00
parent 475d9de2d5
commit da757fa387

View file

@ -122,7 +122,7 @@ func (r *P2PNotaryRequest) isValid() error {
return errors.New("fallback transaction should have one Conflicts attribute") return errors.New("fallback transaction should have one Conflicts attribute")
} }
if conflicts[0].Value.(*transaction.Conflicts).Hash != r.MainTransaction.Hash() { if conflicts[0].Value.(*transaction.Conflicts).Hash != r.MainTransaction.Hash() {
return errors.New("fallback transaction does not conflicts with the main transaction") return errors.New("fallback transaction does not conflict with the main transaction")
} }
nKeysFallback := r.FallbackTransaction.GetAttributes(transaction.NotaryAssistedT) nKeysFallback := r.FallbackTransaction.GetAttributes(transaction.NotaryAssistedT)
if len(nKeysFallback) == 0 { if len(nKeysFallback) == 0 {