diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 069ddb4ab..d7c6ebfc8 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -17,6 +17,7 @@ // todo: // myprivkey, scrub all destination buffers +// oversized tx // headers "sync" make sure it connects to prior blocks to notarization. use getinfo hdrht to get missing hdrs diff --git a/src/komodo_utils.h b/src/komodo_utils.h index fbbe4c677..5d6f2722b 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1973,7 +1973,7 @@ void komodo_args(char *argv0) } else if ( ASSETCHAINS_SELFIMPORT == "PEGSCC") { - Split(GetArg("-ac_pegsccparams",""), ASSETCHAINS_PEGSCCPARAMS, 0); + Split(GetArg("-ac_pegsccparams",""), sizeof(ASSETCHAINS_PEGSCCPARAMS)/sizeof(*ASSETCHAINS_PEGSCCPARAMS), ASSETCHAINS_PEGSCCPARAMS, 0); if (ASSETCHAINS_ENDSUBSIDY[0]!=1 || ASSETCHAINS_COMMISSION!=0) { fprintf(stderr,"when using import for pegsCC these must be set: -ac_end=1 -ac_perc=0\n");