diff options
author | Determinant <[email protected]> | 2019-08-15 18:49:42 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-15 18:49:42 -0400 |
commit | ff58d84f81d584646ca3f8fe00493cdcec8239ed (patch) | |
tree | 4b061596cc4c66c814e013aa91e74a27d9d0a9eb /examples/payments/main.go | |
parent | 669168d32a534c1054f9df659b3199f7b6da0d21 (diff) |
add smart contract example
Diffstat (limited to 'examples/payments/main.go')
-rw-r--r-- | examples/payments/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |