shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
157 stars 180 forks source link

fix: parse buy txid from midgard actions #6813

Closed kaladinlight closed 1 week ago

kaladinlight commented 2 weeks ago

Description

The previous double swap logic was incorrect resulting in rune swaps polling the wrong txid against the wrong chain. This logic removes the double swap condition and instead just attempts to get the latest txid specified in the outbound transactions array. This will evaluate in three different ways:

Pull Request Type

Issue (if applicable)

N/A

Risk

High Risk PRs Require 2 approvals

Medium - this changes transaction confirmation logic

What protocols, transaction types or contract interactions might be affected by this PR?

Thorchain Swaps

Testing

Engineering

:point_up:

Operations

:point_up:

Screenshots (if applicable)

runeToAtom atomToRune atomToAvax