Skip to content

Commit 8fa1b74

Browse files
committed
morph: fix a typo in an error
Signed-off-by: Andrey Butusov <[email protected]>
1 parent c295d9c commit 8fa1b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/morph/client/notary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (c *Client) UpdateNotaryList(notaries keys.PublicKeys, txHash util.Uint256)
268268

269269
nonce, vub, err := c.CalculateNonceAndVUB(txHash)
270270
if err != nil {
271-
return fmt.Errorf("could not calculate nonce and `valicUntilBlock` values: %w", err)
271+
return fmt.Errorf("could not calculate nonce and `validUntilBlock` values: %w", err)
272272
}
273273

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

293293
nonce, vub, err := c.CalculateNonceAndVUB(txHash)
294294
if err != nil {
295-
return fmt.Errorf("could not calculate nonce and `valicUntilBlock` values: %w", err)
295+
return fmt.Errorf("could not calculate nonce and `validUntilBlock` values: %w", err)
296296
}
297297

298298
return c.notaryInvokeAsCommittee(

0 commit comments

Comments
 (0)