From d2e82548482014bce5d07ff349fe5af503fc34f1 Mon Sep 17 00:00:00 2001 From: Evgeniy Stratonikov Date: Thu, 1 Jul 2021 18:46:23 +0300 Subject: [PATCH] native: fix typo in comments Signed-off-by: Evgeniy Stratonikov --- pkg/core/native/native_nep17.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/native/native_nep17.go b/pkg/core/native/native_nep17.go index bc171c90e..0bf47a615 100644 --- a/pkg/core/native/native_nep17.go +++ b/pkg/core/native/native_nep17.go @@ -174,8 +174,8 @@ func (c *nep17TokenNative) updateAccBalance(ic *interop.Context, acc util.Uint16 } si = state.StorageItem{} } else if amount.Sign() == 0 && requiredBalance != nil { - // If amount == 0 then it's either a roundtrip or an empty transfer. In - // case of a roundtrip account's balance may still be less than actual + // If amount == 0 then it's either a round trip or an empty transfer. In + // case of a round trip account's balance may still be less than actual // transfer's amount, so we need to check it. Other cases are handled by // `incBalance` method. balance, err := c.balFromBytes(&si)