mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-04 19:33:33 +00:00
Fix warning
This commit is contained in:
parent
527dbcca8b
commit
b8d3f3cd11
@ -275,7 +275,7 @@ class ContractDeployer {
|
||||
if (error) {
|
||||
contract.error = error.message;
|
||||
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");
|
||||
}
|
||||
return next(new Error("error deploying =" + contract.className + "= due to error: " + error.message));
|
||||
|
Loading…
x
Reference in New Issue
Block a user