From 27cb347fde745a7f0bb1e809e036c304a18684fc Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 15 Feb 2018 20:04:43 +1100 Subject: [PATCH] Fix donation address segwit detection. --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index f8461e6e..ef377b6a 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -8593,7 +8593,7 @@ void *stratifier(void *arg) if (generator_checkaddr(ckp, ckp->donaddress, &ckp->donscript, &ckp->donsegwit)) { ckp->donvalid = true; - sdata->dontxnlen = address_to_txn(sdata->dontxnbin, ckp->donaddress, ckp->script, ckp->segwit); + sdata->dontxnlen = address_to_txn(sdata->dontxnbin, ckp->donaddress, ckp->donscript, ckp->donsegwit); } }