Fixed non-EIP-1559 populateTransaction check.
This commit is contained in:
parent
bfe7b6d80f
commit
2488d20f9e
@ -151,7 +151,7 @@ export abstract class AbstractSigner<P extends null | Provider = null | Provider
|
||||
// Network doesn't support EIP-1559...
|
||||
|
||||
// ...but they are trying to use EIP-1559 properties
|
||||
assert(hasEip1559, "network does not support EIP-1559", "UNSUPPORTED_OPERATION", {
|
||||
assert(!hasEip1559, "network does not support EIP-1559", "UNSUPPORTED_OPERATION", {
|
||||
operation: "populateTransaction" });
|
||||
|
||||
// Populate missing fee data
|
||||
|
Loading…
Reference in New Issue
Block a user