--- Log opened Wed Sep 28 00:00:32 2022
03:42 -!- jonatack3 [~jonatack@user/jonatack] has quit [Ping timeout: 252 seconds]
04:23 -!- jonatack3 [~jonatack@user/jonatack] has joined ##miniscript
05:59 -!- jonatack3 [~jonatack@user/jonatack] has quit [Ping timeout: 268 seconds]
06:34 -!- jonatack3 [~jonatack@user/jonatack] has joined ##miniscript
08:51 < stevenroose> speaking on that topic
08:51 < stevenroose> is there a way to set a trait bound for an impl block so that the P::Hash must be equal to P itself?
08:51 < stevenroose> like impl
Descriptor
where
::Hash = P
08:52 < stevenroose> seems like P: miniscript::MiniscriptKey might work
09:03 < andytoshi> i *think* that'd work yeah
09:03 < andytoshi> this is one of those parts of rust with random sharp edges
09:21 -!- stevenroose [~steven@2001:19f0:6801:83a:a49e:b3dd:ec60:6788] has quit [Quit: ZNC 1.8.2 - https://znc.in]
09:21 -!- stevenroose [~steven@irc.roose.io] has joined ##miniscript
09:22 < stevenroose> yeah I kinda knew that, but I was confused because the MiniscriptKey bound was not present (I think because it is implied by the definition of Descriptor)
09:22 < stevenroose> but yeah that worked
11:32 -!- appservicebot12 [~afilini-m@2001:bc8:1828:245::2] has joined ##miniscript
11:32 -!- appservicebot12 [~afilini-m@2001:bc8:1828:245::2] has quit [K-Lined]
12:01 -!- appservicebot12 [~afilini-m@2001:bc8:1828:245::2] has joined ##miniscript
--- Log closed Thu Sep 29 00:00:34 2022