projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #18 from TheBlueMatt/2021-04-invoice-incl
[ldk-c-bindings]
/
lightning-c-bindings
/
src
/
lightning
/
ln
/
features.rs
diff --git
a/lightning-c-bindings/src/lightning/ln/features.rs
b/lightning-c-bindings/src/lightning/ln/features.rs
index e12ee03732d3ae8dc37e2d4a2cd131f0bf5b0299..52e06dbab319b5bd0bead7e27d61884c394b90e3 100644
(file)
--- a/
lightning-c-bindings/src/lightning/ln/features.rs
+++ b/
lightning-c-bindings/src/lightning/ln/features.rs
@@
-21,10
+21,19
@@
//! [BOLT #9]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md
//! [messages]: crate::ln::msgs
//! [BOLT #9]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md
//! [messages]: crate::ln::msgs
+use std::str::FromStr;
use std::ffi::c_void;
use bitcoin::hashes::Hash;
use crate::c_types::*;
use std::ffi::c_void;
use bitcoin::hashes::Hash;
use crate::c_types::*;
+mod sealed {
+
+use std::str::FromStr;
+use std::ffi::c_void;
+use bitcoin::hashes::Hash;
+use crate::c_types::*;
+
+}
impl Clone for InitFeatures {
fn clone(&self) -> Self {
Self {
impl Clone for InitFeatures {
fn clone(&self) -> Self {
Self {