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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue