From ff58d84f81d584646ca3f8fe00493cdcec8239ed Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 15 Aug 2019 18:49:42 -0400 Subject: add smart contract example --- examples/payments/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/payments') diff --git a/examples/payments/main.go b/examples/payments/main.go index 1c0a18e..db43319 100644 --- a/examples/payments/main.go +++ b/examples/payments/main.go @@ -76,8 +76,8 @@ func main() { showBalance := func() { state, err := chain.CurrentState() checkError(err) - log.Info(fmt.Sprintf("genesis balanche = %s", state.GetBalance(genKey.Address))) - log.Info(fmt.Sprintf("bob's balanche = %s", state.GetBalance(bob.Address))) + log.Info(fmt.Sprintf("genesis balance = %s", state.GetBalance(genKey.Address))) + log.Info(fmt.Sprintf("bob's balance = %s", state.GetBalance(bob.Address))) } chain.SetOnSeal(func(block *types.Block) error { go func() { -- cgit v1.2.3-70-g09d2