mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
add missing default priority for btc and ltc
This commit is contained in:
parent
3f7889dac0
commit
afd9fe7554
1 changed files with 6 additions and 2 deletions
|
@ -55,7 +55,9 @@ class IoniaAnyPay {
|
|||
address: out.address,
|
||||
formattedCryptoAmount: out.amount,
|
||||
sendAll: false)).toList(),
|
||||
feeRate: instruction.requiredFeeRate);
|
||||
feeRate: instruction.requiredFeeRate,
|
||||
priority: bitcoin!.getBitcoinTransactionPriorityMedium(),
|
||||
);
|
||||
case AnyPayChain.ltc:
|
||||
return bitcoin!.createBitcoinTransactionCredentialsRaw(
|
||||
instruction.outputs.map((out) =>
|
||||
|
@ -64,7 +66,9 @@ class IoniaAnyPay {
|
|||
address: out.address,
|
||||
formattedCryptoAmount: out.amount,
|
||||
sendAll: false)).toList(),
|
||||
feeRate: instruction.requiredFeeRate);
|
||||
feeRate: instruction.requiredFeeRate,
|
||||
priority: bitcoin!.getLitecoinTransactionPriorityMedium(),
|
||||
);
|
||||
default:
|
||||
throw Exception('Incorrect transaction chain: ${payment.chain.toUpperCase()}');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue