From c34791ea9618e90ce0b61d1ed2192fdebffda7a5 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 10 May 2024 12:00:16 -0600 Subject: [PATCH] add todo stubs --- lib/wallets/wallet/impl/peercoin_wallet.dart | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/lib/wallets/wallet/impl/peercoin_wallet.dart b/lib/wallets/wallet/impl/peercoin_wallet.dart index d418ec485..535f537b9 100644 --- a/lib/wallets/wallet/impl/peercoin_wallet.dart +++ b/lib/wallets/wallet/impl/peercoin_wallet.dart @@ -49,18 +49,22 @@ class PeercoinWallet extends Bip39HDWallet @override Amount roughFeeEstimate(int inputCount, int outputCount, int feeRatePerKB) { - return Amount( - rawValue: BigInt.from( - ((42 + (272 * inputCount) + (128 * outputCount)) / 4).ceil() * - (feeRatePerKB / 1000).ceil(), - ), - fractionDigits: cryptoCurrency.fractionDigits, - ); + // TODO: check ppc fee stuff + throw Exception("TODO"); + // return Amount( + // rawValue: BigInt.from( + // ((42 + (272 * inputCount) + (128 * outputCount)) / 4).ceil() * + // (feeRatePerKB / 1000).ceil(), + // ), + // fractionDigits: cryptoCurrency.fractionDigits, + // ); } @override int estimateTxFee({required int vSize, required int feeRatePerKB}) { - return vSize * (feeRatePerKB / 1000).ceil(); + // TODO: check ppc fee stuff + throw Exception("TODO"); + // return vSize * (feeRatePerKB / 1000).ceil(); } // ===========================================================================