projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an `optional_vec` TLV format which makes sense, unlike vec_type
[rust-lightning]
/
lightning
/
src
/
chain
/
transaction.rs
diff --git
a/lightning/src/chain/transaction.rs
b/lightning/src/chain/transaction.rs
index 502eb895b2683e4ad3b7fa5bc34f367111781ede..4fc0839f90e5ff84fc103c9adaf14b932d69b81c 100644
(file)
--- a/
lightning/src/chain/transaction.rs
+++ b/
lightning/src/chain/transaction.rs
@@
-75,11
+75,11
@@
impl OutPoint {
}
}
}
}
-impl_writeable!(OutPoint,
0,
{ txid, index });
+impl_writeable!(OutPoint, { txid, index });
#[cfg(test)]
mod tests {
#[cfg(test)]
mod tests {
- use chain::transaction::OutPoint;
+ use c
rate::c
hain::transaction::OutPoint;
use bitcoin::blockdata::transaction::Transaction;
use bitcoin::consensus::encode;
use bitcoin::blockdata::transaction::Transaction;
use bitcoin::consensus::encode;