WIP: Remove transparent transactions
This commit is contained in:
parent
f748b29eca
commit
9024519f28
|
|
@ -14,7 +14,6 @@ use crate::{
|
||||||
serialization::{TrustedPreallocate, MAX_PROTOCOL_MESSAGE_LEN},
|
serialization::{TrustedPreallocate, MAX_PROTOCOL_MESSAGE_LEN},
|
||||||
sprout,
|
sprout,
|
||||||
transaction::Transaction,
|
transaction::Transaction,
|
||||||
transparent,
|
|
||||||
value_balance::{ValueBalance, ValueBalanceError},
|
value_balance::{ValueBalance, ValueBalanceError},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -81,7 +80,6 @@ impl Block {
|
||||||
.first()
|
.first()
|
||||||
.and_then(|tx| tx.inputs().first())
|
.and_then(|tx| tx.inputs().first())
|
||||||
.and_then(|input| match input {
|
.and_then(|input| match input {
|
||||||
transparent::Input::Coinbase { ref height, .. } => Some(*height),
|
|
||||||
_ => None,
|
_ => None,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue