Merge pull request #2922 from nspcc-dev/fix-typo

network: fix grammar typo in the error message
This commit is contained in:
Roman Khimov 2023-02-20 12:45:44 +03:00 committed by GitHub
commit 510bc91804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ func (r *P2PNotaryRequest) isValid() error {
return errors.New("fallback transaction should have one Conflicts attribute")
}
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)
if len(nKeysFallback) == 0 {