File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
lib/wallets/wallet/wallet_mixin_interfaces Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -265,8 +265,18 @@ mixin ElectrumXInterface<T extends ElectrumXCurrencyInterface>
265265 if (isSendAll || isSendAllCoinControlUtxos) {
266266 if ((overrideFeeAmount ?? BigInt .zero) + satoshiAmountToSend !=
267267 satoshisBeingUsed) {
268+ Logging .instance.d ("txData.type: ${txData .type }" );
269+ Logging .instance.d ("isSendAll: $isSendAll " );
270+ Logging .instance.d (
271+ "isSendAllCoinControlUtxos: $isSendAllCoinControlUtxos " ,
272+ );
273+ Logging .instance.d ("overrideFeeAmount: $overrideFeeAmount " );
274+ Logging .instance.d ("satoshiAmountToSend: $satoshiAmountToSend " );
275+ Logging .instance.d ("satoshisBeingUsed: $satoshisBeingUsed " );
276+
268277 // hack check
269- if (txData.type != TxType .mwebPegIn) {
278+ if (! (txData.type == TxType .mwebPegIn ||
279+ (txData.type == TxType .mweb && overrideFeeAmount != null ))) {
270280 throw Exception (
271281 "Something happened that should never actually happen. "
272282 "Please report this error to the developers." ,
You can’t perform that action at this time.
0 commit comments