File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/status_im/contexts/wallet/common Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 457
457
details we've received from `status-go`. The new one contains only
458
458
the keys we need."
459
459
[send-details]
460
- (let [{:keys [uuid
461
- sendType
460
+ (let [{:keys [sendType
462
461
fromAddress
463
462
toAddress
464
463
fromChain
470
469
username
471
470
publicKey
472
471
packId]} send-details]
473
- {:uuid uuid
472
+ {:uuid ( : uuid send-details)
474
473
:send-type sendType
475
474
:address-from fromAddress
476
475
:address-to toAddress
493
492
[send-details sent-transaction]
494
493
(let [send-details (send-details-map send-details)
495
494
{:keys [toAddress fromChain toChain amountIn
496
- amountOut fromToken toToken hash
495
+ amountOut fromToken toToken
497
496
approvalTx]} sent-transaction
498
497
amount-in (money/from-hex amountIn)
499
498
amount-out (money/from-hex amountOut)
500
499
sent-transaction? (and sent-transaction (> (-> sent-transaction :hash count) 0 ))]
501
500
(if sent-transaction?
502
501
(cond-> send-details
503
502
:always (assoc :tx-to toAddress
504
- :tx-hash hash
503
+ :tx-hash ( : hash sent-transaction)
505
504
:approval-tx? approvalTx)
506
505
(> fromChain 0 ) (assoc :from-chain fromChain)
507
506
(> toChain 0 ) (assoc :to-chain toChain)
You can’t perform that action at this time.
0 commit comments