examples: fix typo in method argument
This commit is contained in:
parent
2200f7ff71
commit
53ff02f1ad
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue