Commit 289d7b9 root
committed
1 parent 4006834 commit 289d7b9 Copy full SHA for 289d7b9
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ def update_dataframes(block):
475
475
submitted_hourago ['pct_unmined' ] = submitted_hourago ['still_here' ]/ submitted_hourago ['total' ]
476
476
submitted_hourago ['pct_unmined' ] = submitted_hourago [['still_here' , 'total' ]].apply (roundresult , axis = 1 )
477
477
else :
478
- submitted_hourago = pd .dataframe ()
478
+ submitted_hourago = pd .DataFrame ()
479
479
480
480
submitted_5mago = alltx .loc [(alltx ['block_posted' ] < (block - 20 )) & (alltx ['block_posted' ] > (block - 70 )) & (alltx ['chained' ]== 0 ) & (alltx ['gas_offered' ] < 500000 )].copy ()
481
481
print (len (submitted_5mago ))
@@ -486,7 +486,7 @@ def update_dataframes(block):
486
486
submitted_5mago .rename (columns = {'gas_price' :'total' }, inplace = True )
487
487
submitted_5mago ['pct_unmined' ] = submitted_5mago [['still_here' , 'total' ]].apply (roundresult , axis = 1 )
488
488
else :
489
- submitted_5mago = pd .dataframe ()
489
+ submitted_5mago = pd .DataFrame ()
490
490
491
491
492
492
#make txpool block data
You can’t perform that action at this time.
0 commit comments