File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export default class EosEvmMiner {
142
142
logger . info ( "Gas price: " + this . gasPrice ) ;
143
143
144
144
if ( result . rows [ 0 ] . evm_version != undefined ) {
145
- this . evmVersion = parseInt ( result . rows [ 0 ] . evm_version ) ;
145
+ this . evmVersion = parseInt ( result . rows [ 0 ] . evm_version . cached_version ) ;
146
146
logger . info ( "EVM version: " + this . evmVersion ) ;
147
147
}
148
148
else {
@@ -163,8 +163,8 @@ export default class EosEvmMiner {
163
163
show_payer : false
164
164
} ) ;
165
165
166
- if ( result . rows . length > 0 ) {
167
- const price_queue = result . rows . map ( x => parseInt ( x . price ) ) ;
166
+ if ( priceQueueResult . rows . length > 0 ) {
167
+ const price_queue = priceQueueResult . rows . map ( x => parseInt ( x . price ) ) ;
168
168
this . maxQueuedPrice = Math . max ( ...price_queue ) ;
169
169
}
170
170
else {
You can’t perform that action at this time.
0 commit comments