mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
Fix Gas Price
This commit is contained in:
parent
c42bbd169c
commit
5ad17be140
@ -220,7 +220,10 @@ class ContractDeployer {
|
||||
});
|
||||
},
|
||||
function getGasPriceForNetwork(next) {
|
||||
self.events.request("blockchain:gasPrice", (gasPrice) => {
|
||||
self.events.request("blockchain:gasPrice", (err, gasPrice) => {
|
||||
if (err) {
|
||||
return next(new Error(__("could not get the gas price")));
|
||||
}
|
||||
contract.gasPrice = contract.gasPrice || gasPrice;
|
||||
next();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user