From f3fb2fc00618c183c058120fa1bb53bd10743892 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 6 Apr 2017 19:32:22 +0200 Subject: [PATCH] eth/gasprice: hide nil default from dumpconfig output --- eth/gasprice/gasprice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/gasprice/gasprice.go b/eth/gasprice/gasprice.go index bac048c88a..05c25e644c 100644 --- a/eth/gasprice/gasprice.go +++ b/eth/gasprice/gasprice.go @@ -33,7 +33,7 @@ var maxPrice = big.NewInt(500 * params.Shannon) type Config struct { Blocks int Percentile int - Default *big.Int + Default *big.Int `toml:",omitempty"` } // Oracle recommends gas prices based on the content of recent