mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
Fix gift card purchase (#553)
* Fix gift card purchase * cast as optional bool
This commit is contained in:
parent
d9415af4de
commit
9f187308d4
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ class AnyPayPaymentInstruction {
|
|||
return AnyPayPaymentInstruction(
|
||||
type: obj['type'] as String,
|
||||
requiredFeeRate: obj['requiredFeeRate'] as int,
|
||||
txKey: obj['tx_key'] as bool,
|
||||
txHash: obj['tx_hash'] as bool,
|
||||
txKey: obj['tx_key'] as bool? ?? false,
|
||||
txHash: obj['tx_hash'] as bool? ?? false,
|
||||
outputs: outputs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue