do not trigger null safety

This commit is contained in:
sneurlax 2022-12-08 17:37:51 -06:00
parent 028e77baf4
commit 4aa6fc5d80

View file

@ -410,9 +410,9 @@ class Output {
// print("transaction not supported: ${json}");
return Output(
// Return output object with null values; allows wallet history to be built
scriptpubkey: null,
scriptpubkeyAsm: null,
scriptpubkeyType: null,
scriptpubkey: "",
scriptpubkeyAsm: "",
scriptpubkeyType: "",
scriptpubkeyAddress: "",
value: (Decimal.parse(0.toString()) *
Decimal.fromInt(Constants.satsPerCoin(Coin