Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Handle (confirmed) BTC balances the better way #2082

Merged
merged 2 commits into from
Feb 17, 2022

Conversation

veado
Copy link
Collaborator

@veado veado commented Feb 16, 2022

Background

Since confirmed UTXOs of BTC can be spent for sending txs with a memo only (see xchainjs/xchainjs-lib#330), SWAP, DEPOSIT, WITHDRAW can handling "confirmed" balances only. In wallet -> assets 'all' balances (confirmed and not confirmed) are accessible to send.

Changes

Spendable UTXOs (BTC) are considered in ASGARDEX as follow now:

  • SWAP/DEPOSIT/WITHDRAW: 'confirmed` only
  • SEND: 'all' (confirmed + unconfirmed)

@veado veado added this to the Milestone v0.8.0 milestone Feb 16, 2022
@veado veado self-assigned this Feb 16, 2022
@veado veado merged commit b0728b1 into develop Feb 17, 2022
@veado veado deleted the fix/btc-confirmed-unconfirmed-txs branch February 17, 2022 08:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant