examples: fix typo in method argument

This commit is contained in:
Anna Shaleva 2020-07-07 15:40:34 +03:00
parent 2200f7ff71
commit 53ff02f1ad

View file

@ -39,8 +39,8 @@ func (t Token) GetSupply(ctx storage.Context) interface{} {
} }
// BalanceOf gets the token balance of a specific address // BalanceOf gets the token balance of a specific address
func (t Token) BalanceOf(ctx storage.Context, hodler []byte) interface{} { func (t Token) BalanceOf(ctx storage.Context, holder []byte) interface{} {
return getIntFromDB(ctx, hodler) return getIntFromDB(ctx, holder)
} }
// Transfer token from one user to another // Transfer token from one user to another