From 3aae1482ad50c9359dbe23a3322f2436de99791c Mon Sep 17 00:00:00 2001 From: Andrey Butusov Date: Mon, 17 Feb 2025 21:11:10 +0300 Subject: [PATCH] morph: fix a typo in an error Signed-off-by: Andrey Butusov --- pkg/morph/client/notary.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/morph/client/notary.go b/pkg/morph/client/notary.go index 831650fc14..2cd9335245 100644 --- a/pkg/morph/client/notary.go +++ b/pkg/morph/client/notary.go @@ -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) } return c.notaryInvokeAsCommittee( @@ -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) } return c.notaryInvokeAsCommittee(