Enable extended data on stakes and general cleanup

This commit is contained in:
miketout
2018-10-03 09:26:40 -07:00
parent 06f4116090
commit b3e3f61826
4 changed files with 10 additions and 10 deletions

View File

@@ -90,7 +90,7 @@ class COptCCParams
uint8_t version;
uint8_t evalCode;
uint8_t n, m; // for n of m sigs required, m addresses for sigs will follow
uint8_t m, n; // for m of n sigs required, n pub keys for sigs will follow
COptCCParams() : version(0), evalCode(0), n(0), m(0) {}
@@ -105,7 +105,7 @@ class COptCCParams
evalCode = vch[1];
n = vch[2];
m = vch[3];
if (version != VERSION && n == 1 && (m == 1 || m == 2))
if (version != VERSION && m == 1 && (n == 1 || n == 2))
{
// we only support one version, and 1 of 1 or 1 of 2 now, so set invalid
version = 0;