mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
Remove fallback default priority to calculate fee, in order to know if something is wrong from anypay
This commit is contained in:
parent
7ffb654065
commit
a901fbad2c
1 changed files with 2 additions and 6 deletions
|
@ -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()}');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue