Change result from getauxblock to BIP22 validation state
This commit is contained in:
parent
7b81f4de0a
commit
4b33236028
|
@ -1099,7 +1099,7 @@ UniValue getauxblock(const JSONRPCRequest& request)
|
||||||
if (fAccepted)
|
if (fAccepted)
|
||||||
coinbaseScript->KeepScript();
|
coinbaseScript->KeepScript();
|
||||||
|
|
||||||
return fAccepted;
|
return BIP22ValidationResult(sc.state);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
Loading…
Reference in a new issue