formatting

This commit is contained in:
sneurlax 2024-02-06 12:34:55 -06:00
parent 15a9543c9f
commit 931fb7e75a

View file

@ -177,7 +177,7 @@ class BitcoincashWallet extends Bip39HDWallet
try {
final prevOutJson = Map<String, dynamic>.from(
(inputTx["vout"] as List).firstWhere((e) => e["n"] == vout)
as Map);
as Map);
final prevOut = OutputV2.fromElectrumXJson(
prevOutJson,
decimalPlaces: cryptoCurrency.fractionDigits,
@ -192,13 +192,9 @@ class BitcoincashWallet extends Bip39HDWallet
addresses.addAll(prevOut.addresses);
} catch (e, s) {
Logging.instance.log(
"Error getting prevOutJson"
": $e\n$s",
level: LogLevel.Warning,
);
"Error getting prevOutJson: $s\nStack trace: $s",
level: LogLevel.Warning);
}
}
InputV2 input = InputV2.isarCantDoRequiredInDefaultConstructor(