aboutsummaryrefslogtreecommitdiff
path: root/examples/payments
diff options
context:
space:
mode:
Diffstat (limited to 'examples/payments')
-rw-r--r--examples/payments/main.go4
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)