mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Remove fallback default priority to calculate fee, in order to know if something is wrong from anypay
This commit is contained in:
@@ -55,9 +55,7 @@ class IoniaAnyPay {
|
||||
address: out.address,
|
||||
formattedCryptoAmount: out.amount,
|
||||
sendAll: false)).toList(),
|
||||
feeRate: instruction.requiredFeeRate,
|
||||
priority: bitcoin!.getBitcoinTransactionPriorityMedium(),
|
||||
);
|
||||
feeRate: instruction.requiredFeeRate);
|
||||
case AnyPayChain.ltc:
|
||||
return bitcoin!.createBitcoinTransactionCredentialsRaw(
|
||||
instruction.outputs.map((out) =>
|
||||
@@ -66,9 +64,7 @@ class IoniaAnyPay {
|
||||
address: out.address,
|
||||
formattedCryptoAmount: out.amount,
|
||||
sendAll: false)).toList(),
|
||||
feeRate: instruction.requiredFeeRate,
|
||||
priority: bitcoin!.getLitecoinTransactionPriorityMedium(),
|
||||
);
|
||||
feeRate: instruction.requiredFeeRate);
|
||||
default:
|
||||
throw Exception('Incorrect transaction chain: ${payment.chain.toUpperCase()}');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user