projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test onion message replies
[rust-lightning]
/
lightning
/
src
/
chain
/
transaction.rs
diff --git
a/lightning/src/chain/transaction.rs
b/lightning/src/chain/transaction.rs
index 0219ebbe8cad9631e1f2fef8c7b05600828e9f24..ce449a4102c31498232874498c3e6cced2da8c20 100644
(file)
--- a/
lightning/src/chain/transaction.rs
+++ b/
lightning/src/chain/transaction.rs
@@
-66,7
+66,9
@@
impl OutPoint {
}
/// Converts this OutPoint into the OutPoint field as used by rust-bitcoin
}
/// Converts this OutPoint into the OutPoint field as used by rust-bitcoin
- /// (C-not exported) as the same type is used universally in the C bindings for all outpoints
+ ///
+ /// This is not exported to bindings users as the same type is used universally in the C bindings
+ /// for all outpoints
pub fn into_bitcoin_outpoint(self) -> BitcoinOutPoint {
BitcoinOutPoint {
txid: self.txid,
pub fn into_bitcoin_outpoint(self) -> BitcoinOutPoint {
BitcoinOutPoint {
txid: self.txid,
@@
-79,7
+81,7
@@
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;