From: Mark Wooding Date: Sun, 28 May 2017 18:03:08 +0000 (+0100) Subject: pubkey.c: Fix keyword-argument order for KCDSAPriv constructor. X-Git-Tag: 1.2.1~2 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/commitdiff_plain/c142539dda1897a578bc1abc8ce372ed2a64b7b5 pubkey.c: Fix keyword-argument order for KCDSAPriv constructor. --- diff --git a/pubkey.c b/pubkey.c index e0e8dc9..90a29b3 100644 --- a/pubkey.c +++ b/pubkey.c @@ -344,7 +344,7 @@ static PyObject *kcdsapriv_pynew(PyTypeObject *ty, { PyObject *G, *u, *p = 0, *rng = rand_pyobj, *hash = has160_pyobj; PyObject *rc = 0; - char *kwlist[] = { "G", "p", "u", "hash", "rng", 0 }; + char *kwlist[] = { "G", "u", "p", "hash", "rng", 0 }; if (!PyArg_ParseTupleAndKeywords(arg, kw, "O!O|O!O!O!:new", kwlist, group_pytype, &G,