Skip to content

Commit 14e094a

Browse files
committed
Move Writeable from BaseSign to Sign
1 parent db02871 commit 14e094a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/keysinterface.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl Readable for SpendableOutputDescriptor {
226226
/// of LN security model, orthogonal of key management issues.
227227
// TODO: We should remove Clone by instead requesting a new Sign copy when we create
228228
// ChannelMonitors instead of expecting to clone the one out of the Channel into the monitors.
229-
pub trait BaseSign : Send + Writeable {
229+
pub trait BaseSign : Send {
230230
/// Gets the per-commitment point for a specific commitment number
231231
///
232232
/// Note that the commitment number starts at (1 << 48) - 1 and counts backwards.
@@ -349,7 +349,7 @@ pub trait BaseSign : Send + Writeable {
349349
/// Although we require signers to be cloneable, it may be useful for developers to be able to use
350350
/// signers in an un-sized way, for example as `dyn BaseSign`. Therefore we separate the Clone trait,
351351
/// which implies Sized, into this derived trait.
352-
pub trait Sign: BaseSign + Clone {
352+
pub trait Sign: BaseSign + Writeable + Clone {
353353
}
354354

355355
/// A trait to describe an object which can get user secrets and key material.

0 commit comments

Comments
 (0)