diff --git a/remotesigning/validator.go b/remotesigning/validator.go index 680d7f5..793fc63 100644 --- a/remotesigning/validator.go +++ b/remotesigning/validator.go @@ -28,7 +28,8 @@ func (v HashValidator) ShouldSign(webhookEvent webhooks.WebhookEvent) bool { } for _, signing := range request.SigningJobs { - if strings.HasSuffix(signing.DerivationPath, "/2") { + // PaymentOutput or DelayedPaymentOutput + if strings.HasSuffix(signing.DerivationPath, "/2") || strings.HasSuffix(signing.DerivationPath, "/3"){ msg, err := CalculateWitnessHashPSBT(*signing.Transaction) if err != nil { return false @@ -48,4 +49,4 @@ func (v HashValidator) ShouldSign(webhookEvent webhooks.WebhookEvent) bool { } return true -} \ No newline at end of file +}