Co-authored-by: Daniel Karzel <daniel.karzel@coblox.tech>
pull/123/head
Franck Royer 4 years ago
parent 047f990d05
commit 6ffc66867c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

@ -259,7 +259,7 @@ impl State2 {
let tx_punish =
bitcoin::TxPunish::new(&tx_cancel, &self.punish_address, self.punish_timelock);
bitcoin::verify_sig(&self.B, &tx_punish.digest(), &msg.tx_punish_sig)
.context("Failed to verify Punish Transaction")?;
.context("Failed to verify punish transaction")?;
Ok(State3 {
a: self.a,

Loading…
Cancel
Save