diff options
author | Determinant <[email protected]> | 2019-09-26 00:36:14 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-09-26 00:36:14 -0400 |
commit | 2e0b38c332a3ab4e11b97a38ff6d8427a3d96215 (patch) | |
tree | 783ed7335d2ff804f05dee167c4b497c7058ff52 /examples/payments | |
parent | 35d55fc2bf9e8892a1174fc38b0dbba4af719044 (diff) |
add a chain rand generation example/test
Diffstat (limited to 'examples/payments')
-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 0a69061..4a49813 100644 --- a/examples/payments/main.go +++ b/examples/payments/main.go @@ -60,7 +60,7 @@ func main() { // grab the control of block generation and disable auto uncle config.Miner.ManualMining = true - config.Miner.ManualUncle = true + config.Miner.DisableUncle = true // info required to generate a transaction chainID := chainConfig.ChainID @@ -72,7 +72,7 @@ func main() { checkError(err) blockCount := 0 - chain := coreth.NewETHChain(&config, nil) + chain := coreth.NewETHChain(&config, nil, nil) showBalance := func() { state, err := chain.CurrentState() checkError(err) |