script: minor.

This commit is contained in:
Christopher Jeffrey 2017-06-13 11:49:35 -07:00
parent a3c7a49c80
commit eba457ae11
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -520,7 +520,7 @@ Script.prototype.execute = function execute(stack, flags, tx, index, value, vers
if (version == null)
version = 0;
if (flags & common.flags.VERIFY_MINIMALDATA)
if (flags & Script.flags.VERIFY_MINIMALDATA)
minimal = true;
if (this.getSize() > consensus.MAX_SCRIPT_SIZE)