Skip to content

Commit

Permalink
fix: 🚧 try to fix initial funding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jojobyte committed Feb 14, 2024
1 parent cd06607 commit 6c96982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ export async function createTx(

// console.log('createTx fundAddrs', [...fundAddrs])

if (Array.isArray(fundAddrs)) {
if (Array.isArray(fundAddrs) && fundAddrs.length > 0) {
fundAddrs.sort(sortAddrs)
changeAddr = changeAddr || fundAddrs[0].address
// console.log('createTx fundAddrs sorted', fundAddrs)
Expand Down

0 comments on commit 6c96982

Please sign in to comment.