|
@@ -199,6 +199,9 @@ func (gpo *Oracle) getBlockPrices(ctx context.Context, signer types.Signer, bloc
|
|
|
|
|
|
|
|
var prices []*big.Int
|
|
var prices []*big.Int
|
|
|
for _, tx := range txs {
|
|
for _, tx := range txs {
|
|
|
|
|
+ if tx.GasPriceIntCmp(common.Big1) <= 0 {
|
|
|
|
|
+ continue
|
|
|
|
|
+ }
|
|
|
sender, err := types.Sender(signer, tx)
|
|
sender, err := types.Sender(signer, tx)
|
|
|
if err == nil && sender != block.Coinbase() {
|
|
if err == nil && sender != block.Coinbase() {
|
|
|
prices = append(prices, tx.GasPrice())
|
|
prices = append(prices, tx.GasPrice())
|