Skip to content

Commit

Permalink
fix(swap): prov payment xlm memo based fix
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Apr 20, 2021
1 parent c50b332 commit efecab8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ export default ({
coin
)
payment = yield payment.amount(paymentAmount)
// TODO, add isMemoBased check
const sampleAddr = quote.sampleDepositAddress.split(':')[0]
return (yield payment
.chain()
.to(quote.sampleDepositAddress, 'ADDRESS')
.to(sampleAddr, 'ADDRESS')
.build()
.done()).value()
} catch (e) {
Expand Down

0 comments on commit efecab8

Please sign in to comment.