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
let ours = RevocationBasepoint(PublicKey::from_slice(&<Vec<u8>>::from_hex("0324653eac434488002cc06bbfb7f10fe18991e35f9fe4302dbea6d2353dc0ab1c").unwrap()[..]).unwrap());
186
+
let theirs = RevocationBasepoint(PublicKey::from_slice(&<Vec<u8>>::from_hex("02eec7245d6b7d2ccb30380bfbe2a3648cd7a942653f5aa340edcea1f283686619").unwrap()[..]).unwrap());
187
+
188
+
letmut engine = Sha256::engine();
189
+
engine.input(&theirs.0.serialize());
190
+
engine.input(&ours.0.serialize());
191
+
let expected_id = ChannelId(Sha256::from_engine(engine).to_byte_array());
let ours = RevocationBasepoint(PublicKey::from_slice(&<Vec<u8>>::from_hex("027f31ebc5462c1fdce1b737ecff52d37d75dea43ce11c74d25aa297165faa2007").unwrap()[..]).unwrap());
197
+
let theirs = RevocationBasepoint(PublicKey::from_slice(&<Vec<u8>>::from_hex("02eec7245d6b7d2ccb30380bfbe2a3648cd7a942653f5aa340edcea1f283686619").unwrap()[..]).unwrap());
198
+
199
+
letmut engine = Sha256::engine();
200
+
engine.input(&ours.0.serialize());
201
+
engine.input(&theirs.0.serialize());
202
+
let expected_id = ChannelId(Sha256::from_engine(engine).to_byte_array());
0 commit comments