<p>A transaction either gets confirmed in its entirety (by being included in a block) or none at all. If one of the inputs is successfully doublespent, then your tx is invalid so will never be confirmed.</p>

CC BY-SA 3.0
2014-03-07T20:01:54.133Z
2014-03-07T20:01:54.133Z
uminatsu
<p>Lets assume we have transaction with 2 inputs, each worth 1 bitcoin, and we send these 2 bitcoins to one address. </p>

<ul>
<li>What happens if there is successful double spend attack on bitcoins in our first input? </li>
<li>How many bitcoins recipient gets, one or zero?</li>
</ul>

<transactions><doublespend>
Double spend in transaction with multiple inputs
Petr Hurtak
# Double spend in transaction with multiple inputs

(Asked by: username_0 on 2014-03-07)

Lets assume we have transaction with 2 inputs, each worth 1 bitcoin, and we send these 2 bitcoins to one address.

* What happens if there is successful double spend attack on bitcoins in our first input?
* How many bitcoins recipient gets, one or zero?

**Tags:** transactions, doublespend


---

## 1 answers

### Answer by username_1 on 2014-03-07. Score: 3 | Accepted answer

A transaction either gets confirmed in its entirety (by being included in a block) or none at all. If one of the inputs is successfully doublespent, then your tx is invalid so will never be confirmed.


---

