Skip to content

Commit

Permalink
Merge pull request #11 from zig-bitcoin/expose-ser-exp-signature
Browse files Browse the repository at this point in the history
Expose recovery, serializable signature
  • Loading branch information
AbdelStark authored Sep 10, 2024
2 parents 4036f3a + 5275fca commit 03d1ec9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecdsa/ecdsa.zig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const secp256k1 = @cImport({
const secp = @import("../secp256k1.zig");

const serialized_signature = @import("serialized_signature.zig");
const SerializedSignature = @import("serialized_signature.zig").SerializedSignature;
pub const SerializedSignature = @import("serialized_signature.zig").SerializedSignature;
const Error = secp.Error;
const ErrorParseHex = secp.ErrorParseHex;

Expand Down
3 changes: 3 additions & 0 deletions src/secp256k1.zig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ pub const Error = error{

pub const ecdsa = struct {
pub const Signature = ecdsa_lib.Signature;
pub const SerializedSignature = ecdsa_lib.SerializedSignature;
pub const RecoverableSignature = recovery_lib.RecoverableSignature;
pub const RecoveryId = recovery_lib.RecoveryId;
};

pub const schnorr = struct {
Expand Down

0 comments on commit 03d1ec9

Please sign in to comment.