Co-authored-by: Daniel Karzel <daniel.karzel@coblox.tech>
This commit is contained in:
Franck Royer 2021-01-08 11:31:21 +11:00
parent 047f990d05
commit 6ffc66867c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -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,