From dc9efd2fd6beeb3b675a2dc95dd5e2ecfe5fe023 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 0a9a71a8..15def528 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -8680,7 +8680,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); } }