*: fix some misspellings

Found by goreport.
This commit is contained in:
Roman Khimov 2019-09-03 18:20:05 +03:00
parent 22bea5eccf
commit 6bfcc615b2
3 changed files with 3 additions and 3 deletions

View file

@ -49,5 +49,5 @@ func GetIssuer(a Asset) []byte {
// Create registers a new asset on the blockchain. // Create registers a new asset on the blockchain.
func Create(assetType byte, name string, amount int, precision byte, owner, admin, issuer []byte) {} func Create(assetType byte, name string, amount int, precision byte, owner, admin, issuer []byte) {}
// Renew renews the existance of an asset by the given years. // Renew renews the existence of an asset by the given years.
func Renew(asset Asset, years int) {} func Renew(asset Asset, years int) {}

View file

@ -70,7 +70,7 @@ func (u *Uint160) UnmarshalJSON(data []byte) (err error) {
return err return err
} }
// Size returns the lenght of the bytes representation of Uint160 // Size returns the length of the bytes representation of Uint160
func (u Uint160) Size() int { func (u Uint160) Size() int {
return uint160Size return uint160Size
} }

View file

@ -82,7 +82,7 @@ func (u *Uint256) UnmarshalJSON(data []byte) (err error) {
return err return err
} }
// Size returns the lenght of the bytes representation of Uint256 // Size returns the length of the bytes representation of Uint256
func (u Uint256) Size() int { func (u Uint256) Size() int {
return uint256Size return uint256Size
} }