We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fed6ff3 commit 6c7231cCopy full SHA for 6c7231c
1 file changed
lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart
@@ -276,7 +276,7 @@ mixin ElectrumXInterface<T extends ElectrumXCurrencyInterface>
276
277
// hack check
278
if (!(txData.type == TxType.mwebPegIn ||
279
- (txData.type == TxType.mweb && overrideFeeAmount != null))) {
+ (txData.type.isMweb() && overrideFeeAmount != null))) {
280
throw Exception(
281
"Something happened that should never actually happen. "
282
"Please report this error to the developers.",
0 commit comments