mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
*: fix some misspellings
Found by goreport.
This commit is contained in:
parent
22bea5eccf
commit
6bfcc615b2
3 changed files with 3 additions and 3 deletions
|
@ -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) {}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue