Change result from getauxblock to BIP22 validation state

This commit is contained in:
Ross Nicoll 2018-01-01 12:51:56 +00:00
parent 7b81f4de0a
commit 4b33236028

View file

@ -1099,7 +1099,7 @@ UniValue getauxblock(const JSONRPCRequest& request)
if (fAccepted) if (fAccepted)
coinbaseScript->KeepScript(); coinbaseScript->KeepScript();
return fAccepted; return BIP22ValidationResult(sc.state);
} }
/* ************************************************************************** */ /* ************************************************************************** */