mirror of https://github.com/embarklabs/embark.git
profile always return
This commit is contained in:
parent
a1c2d7e77a
commit
a325abe1c2
|
@ -45,9 +45,7 @@ class GasEstimator {
|
|||
getVarianceCb(err, gasAmount);
|
||||
});
|
||||
}, (err, variance) => {
|
||||
if (err) {
|
||||
return gasCb(err, name, abiMethod.type);
|
||||
} else if (variance.every(v => v === variance[0])) {
|
||||
if (variance.every(v => v === variance[0])) {
|
||||
gasMap[name] = variance[0];
|
||||
} else {
|
||||
// get average
|
||||
|
|
Loading…
Reference in New Issue