From cd85458aa2e28ce1ff64333dab4d9b8915f8ec25 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Tue, 9 Jan 2018 12:35:00 +0000 Subject: [PATCH] eth/gasprice: gofmt --- eth/gasprice/gasprice.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/gasprice/gasprice.go b/eth/gasprice/gasprice.go index edd04d0297..2b7870e05b 100644 --- a/eth/gasprice/gasprice.go +++ b/eth/gasprice/gasprice.go @@ -154,8 +154,8 @@ type getBlockPricesResult struct { type transactionsByGasPrice []*types.Transaction -func (t transactionsByGasPrice) Len() int { return len(t) } -func (t transactionsByGasPrice) Swap(i, j int) { t[i], t[j] = t[j], t[i] } +func (t transactionsByGasPrice) Len() int { return len(t) } +func (t transactionsByGasPrice) Swap(i, j int) { t[i], t[j] = t[j], t[i] } func (t transactionsByGasPrice) Less(i, j int) bool { return t[i].GasPrice().Cmp(t[j].GasPrice()) < 0 } // getBlockPrices calculates the lowest transaction gas price in a given block