File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -494,6 +494,7 @@ func (pool *TxPool) GasPrice() *big.Int {
494
494
func (pool * TxPool ) GasPriceWithoutLock () * big.Int {
495
495
return new (big.Int ).Set (pool .gasPrice )
496
496
}
497
+
497
498
func (pool * TxPool ) SetGasPriceWithoutLock (price * big.Int ) {
498
499
pool .gasPrice = price
499
500
log .Info ("Transaction pool price threshold updated" , "price" , price )
@@ -1308,6 +1309,7 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
1308
1309
next := new (big.Int ).Add (newHead .Number , big .NewInt (1 ))
1309
1310
pool .istanbul = pool .chainconfig .IsIstanbul (next )
1310
1311
pool .eip2718 = pool .chainconfig .IsBerlin (next )
1312
+ //fncy2 update
1311
1313
if pool .chainconfig .IsFncy2 (next ) {
1312
1314
gasPrice , err := pool .gasPriceFunc (pool .chain .CurrentBlock ().Hash ())
1313
1315
if err != nil {
You can’t perform that action at this time.
0 commit comments