From 53ff02f1ad022b7454537bd5a65289ebaa34dc74 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Tue, 7 Jul 2020 15:40:34 +0300 Subject: [PATCH] examples: fix typo in method argument --- examples/token/nep5/nep5.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/token/nep5/nep5.go b/examples/token/nep5/nep5.go index 89c92994c..79f7b7692 100644 --- a/examples/token/nep5/nep5.go +++ b/examples/token/nep5/nep5.go @@ -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