pubkey.c: Fix keyword-argument order for KCDSAPriv constructor.
[catacomb-python] / pubkey.c
index e0e8dc9..90a29b3 100644 (file)
--- 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,