Fix sending native BTC

This commit is contained in:
Nathaniel Parke 2020-10-08 14:17:19 +08:00
parent a80a2cdefc
commit 41ecc280fd
1 changed files with 1 additions and 1 deletions

View File

@ -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')) {