Skip to content

Commit 6c7231c

Browse files
committed
mweb pegout send all error fix
1 parent fed6ff3 commit 6c7231c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ mixin ElectrumXInterface<T extends ElectrumXCurrencyInterface>
276276

277277
// hack check
278278
if (!(txData.type == TxType.mwebPegIn ||
279-
(txData.type == TxType.mweb && overrideFeeAmount != null))) {
279+
(txData.type.isMweb() && overrideFeeAmount != null))) {
280280
throw Exception(
281281
"Something happened that should never actually happen. "
282282
"Please report this error to the developers.",

0 commit comments

Comments
 (0)