diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs
index f02077b5..a5c423c2 100644
--- a/src/blockdata/transaction.rs
+++ b/src/blockdata/transaction.rs
@@ -161,7 +161,7 @@ impl TxIn {
index: uint) -> Result<(), TransactionError> {
let txo = utxoset.get_utxo(self.prev_hash, self.prev_index);
match txo {
- Some(txo) => {
+ Some((_, txo)) => {
let mut p2sh_stack = Vec::new();
let mut p2sh_script = Script::new();
@@ -242,7 +242,7 @@ impl Transaction {
// Run through the input
let txo = utxoset.get_utxo(input.prev_hash, input.prev_index);
match txo {
- Some(txo) => {
+ Some((_, txo)) => {
let mut p2sh_stack = Vec::new();
let mut p2sh_script = Script::new();
diff --git a/src/blockdata/utxoset.rs b/src/blockdata/utxoset.rs
index 9057083d..bb71470e 100644
--- a/src/blockdata/utxoset.rs
+++ b/src/blockdata/utxoset.rs
@@ -59,8 +59,13 @@ pub enum UtxoSetError {
InvalidTx(Sha256dHash, TransactionError),
}
-/// Vector of outputs; None indicates a nonexistent or already spent output
-type UtxoNode = ThinVec