Skip to content

Commit

Permalink
morph: fix a typo in an error
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Butusov <[email protected]>
  • Loading branch information
End-rey committed Feb 19, 2025
1 parent fc9b366 commit 3aae148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/morph/client/notary.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (c *Client) UpdateNotaryList(notaries keys.PublicKeys, txHash util.Uint256)

nonce, vub, err := c.CalculateNonceAndVUB(txHash)
if err != nil {
return fmt.Errorf("could not calculate nonce and `valicUntilBlock` values: %w", err)
return fmt.Errorf("could not calculate nonce and `validUntilBlock` values: %w", err)

Check warning on line 271 in pkg/morph/client/notary.go

View check run for this annotation

Codecov / codecov/patch

pkg/morph/client/notary.go#L271

Added line #L271 was not covered by tests
}

return c.notaryInvokeAsCommittee(
Expand All @@ -292,7 +292,7 @@ func (c *Client) UpdateNeoFSAlphabetList(alphas keys.PublicKeys, txHash util.Uin

nonce, vub, err := c.CalculateNonceAndVUB(txHash)
if err != nil {
return fmt.Errorf("could not calculate nonce and `valicUntilBlock` values: %w", err)
return fmt.Errorf("could not calculate nonce and `validUntilBlock` values: %w", err)

Check warning on line 295 in pkg/morph/client/notary.go

View check run for this annotation

Codecov / codecov/patch

pkg/morph/client/notary.go#L295

Added line #L295 was not covered by tests
}

return c.notaryInvokeAsCommittee(
Expand Down

0 comments on commit 3aae148

Please sign in to comment.