mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-10 14:16:47 +00:00
Fix warning
This commit is contained in:
parent
527dbcca8b
commit
b8d3f3cd11
@ -275,7 +275,7 @@ class ContractDeployer {
|
|||||||
if (error) {
|
if (error) {
|
||||||
contract.error = error.message;
|
contract.error = error.message;
|
||||||
self.events.emit("deploy:contract:error", contract);
|
self.events.emit("deploy:contract:error", contract);
|
||||||
if (error.message && error.message.indexOf('replacement transaction underpriced')) {
|
if (error.message && error.message.indexOf('replacement transaction underpriced') !== -1) {
|
||||||
self.logger.warn("replacement transaction underpriced: This warning typically means a transaction exactly like this one is still pending on the blockchain");
|
self.logger.warn("replacement transaction underpriced: This warning typically means a transaction exactly like this one is still pending on the blockchain");
|
||||||
}
|
}
|
||||||
return next(new Error("error deploying =" + contract.className + "= due to error: " + error.message));
|
return next(new Error("error deploying =" + contract.className + "= due to error: " + error.message));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user