From 21fdfee11cb54d418a32be6954cce309d2616d16 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 7 Feb 2018 10:28:20 +1100 Subject: [PATCH] Expand sdata txnbin copying for future segwit version script expansion. --- src/stratifier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index e1344f17..f8461e6e 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2354,8 +2354,8 @@ static sdata_t *duplicate_sdata(const sdata_t *sdata) dsdata->ckp = sdata->ckp; /* Copy the transaction binaries for workbase creation */ - memcpy(dsdata->txnbin, sdata->txnbin, 40); - memcpy(dsdata->dontxnbin, sdata->dontxnbin, 40); + memcpy(dsdata->txnbin, sdata->txnbin, 48); + memcpy(dsdata->dontxnbin, sdata->dontxnbin, 48); /* Use the same work queues for all subproxies */ dsdata->ssends = sdata->ssends;