Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
223880 committed Apr 8, 2024
1 parent 0c7c43e commit d6c4c25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/bitcoin/CoinControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ interface Wallet {
}

function addUTXO(wallet: Wallet, txid: string, index: number, txout: bitcoin.TxOut, address: bitcoin.Address) {
wallet.utxos.push({amount});
wallet.utxos.push(newFunction());

function newFunction(): UTXO {
return { amount };
}
}

function removeUTXO(wallet: Wallet, txid: string) {
Expand Down

0 comments on commit d6c4c25

Please sign in to comment.