Skip to content

Commit

Permalink
refactor: add and rm comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Oct 25, 2024
1 parent bd0ecce commit a568775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/auth/payment_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ func NewPaymentSigner(privateKeyHex string) *PaymentSigner {
}
}

// SignBlobPayment signs the payment header and returns the signature
func (s *PaymentSigner) SignBlobPayment(header *commonpb.PaymentHeader) ([]byte, error) {
// Set the account id to the hex encoded public key of the signer
header.AccountId = s.GetAccountID()
pm := core.ConvertPaymentHeader(header)
hash := pm.Hash()
Expand Down

0 comments on commit a568775

Please sign in to comment.