Merge pull request #2922 from nspcc-dev/fix-typo
network: fix grammar typo in the error message
This commit is contained in:
commit
510bc91804
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue