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
func (t Token) BalanceOf(ctx storage.Context, hodler []byte) interface{} {
return getIntFromDB(ctx, hodler)
func (t Token) BalanceOf(ctx storage.Context, holder []byte) interface{} {
return getIntFromDB(ctx, holder)
}
// Transfer token from one user to another