Skip to content

Commit

Permalink
Fix sending native BTC
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielparke committed Oct 8, 2020
1 parent a80a2cd commit 41ecc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SendDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function SendSwapProgress({ publicKey, signature, onClose }) {

let step = 1;
let ethTxid = null;
for (let swap of swaps) {
for (let swap of (swaps || [])) {
const { deposit, withdrawal } = swap;
if (deposit.txid === signature) {
if (withdrawal.txid?.startsWith('0x')) {
Expand Down

0 comments on commit 41ecc28

Please sign in to comment.