Fix empty event in token-erc-20 example (#424)

Signed-off-by: Baran Kılıç <baran.kilic@boun.edu.tr>
This commit is contained in:
Baran Kılıç 2021-02-24 16:58:13 +03:00 committed by GitHub
parent b88ec9f4b4
commit 651f2235aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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