bitcoin/signature.h: remove struct signature.

It's a wrapper around secp256k1_ecdsa_signature, so use that directly.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-01-25 10:03:42 +10:30
parent e3d966c102
commit 1edce4878d
17 changed files with 101 additions and 105 deletions

View File

@@ -15,7 +15,7 @@ struct abs_locktime;
/* A bitcoin signature includes one byte for the type. */
struct bitcoin_signature {
struct signature sig;
secp256k1_ecdsa_signature sig;
enum sighash_type stype;
};