You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently implement it for our own testing, and we've had users ask for it for their testing, so probably best to expose it. dunno if it makes sense to expose as-is via the ParitlEq trait, or if we want a separate method for it so we can provide additional documentation.
The text was updated successfully, but these errors were encountered:
It turns out `#[derive(PartialEq)]` will automatically bound the
`PartialEq` implementation by any bounds on the struct also being
`PartialEq`. This means to use an auto-derived `ChannelMonitor`
`PartialEq` the `EcdsaSigner` used must also be `PartialEq`, but
for the use-cases we have today for a `ChannelMonitor` `PartialEq`
it doesn't really matter - we use it internally in tests and
downstream users wanted similar test-only usage.
Fixeslightningdevkit#1912.
It turns out `#[derive(PartialEq)]` will automatically bound the
`PartialEq` implementation by any bounds on the struct also being
`PartialEq`. This means to use an auto-derived `ChannelMonitor`
`PartialEq` the `EcdsaSigner` used must also be `PartialEq`, but
for the use-cases we have today for a `ChannelMonitor` `PartialEq`
it doesn't really matter - we use it internally in tests and
downstream users wanted similar test-only usage.
Fixeslightningdevkit#1912.
We currently implement it for our own testing, and we've had users ask for it for their testing, so probably best to expose it. dunno if it makes sense to expose as-is via the
ParitlEq
trait, or if we want a separate method for it so we can provide additional documentation.The text was updated successfully, but these errors were encountered: