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 457457 details we've received from `status-go`. The new one contains only
458458 the keys we need."
459459 [send-details]
460- (let [{:keys [uuid
461- sendType
460+ (let [{:keys [sendType
462461 fromAddress
463462 toAddress
464463 fromChain
470469 username
471470 publicKey
472471 packId]} send-details]
473- {:uuid uuid
472+ {:uuid ( : uuid send-details)
474473 :send-type sendType
475474 :address-from fromAddress
476475 :address-to toAddress
493492 [send-details sent-transaction]
494493 (let [send-details (send-details-map send-details)
495494 {:keys [toAddress fromChain toChain amountIn
496- amountOut fromToken toToken hash
495+ amountOut fromToken toToken
497496 approvalTx]} sent-transaction
498497 amount-in (money/from-hex amountIn)
499498 amount-out (money/from-hex amountOut)
500499 sent-transaction? (and sent-transaction (> (-> sent-transaction :hash count) 0 ))]
501500 (if sent-transaction?
502501 (cond-> send-details
503502 :always (assoc :tx-to toAddress
504- :tx-hash hash
503+ :tx-hash ( : hash sent-transaction)
505504 :approval-tx? approvalTx)
506505 (> fromChain 0 ) (assoc :from-chain fromChain)
507506 (> toChain 0 ) (assoc :to-chain toChain)
You can’t perform that action at this time.
0 commit comments