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