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); } }