Skip to content

Commit

Permalink
return err in ConfidentialWitnessPubKeyHash (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
louisinger authored Jun 9, 2022
1 parent 17f0c89 commit 0b18541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payment/payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (p *Payment) ConfidentialWitnessPubKeyHash() (string, error) {
}
addr, err := address.ToBlech32(payload)
if err != nil {
return "", nil
return "", err
}
return addr, nil
}
Expand Down

0 comments on commit 0b18541

Please sign in to comment.