Fix empty event in token-erc-20 example

Signed-off-by: Baran Kılıç <baran.kilic@boun.edu.tr>
This commit is contained in:
Baran Kılıç 2021-02-23 09:50:19 +03:00
parent b4db1f53a0
commit e1c42e20e5

View file

@ -23,9 +23,9 @@ type SmartContract struct {
// event provides an organized struct for emitting events // event provides an organized struct for emitting events
type event struct { type event struct {
from string From string `json:"from"`
to string To string `json:"to"`
value int Value int `json:"value"`
} }
// Mint creates new tokens and adds them to minter's account balance // Mint creates new tokens and adds them to minter's account balance