diff options
| author | Ross Nicoll <[email protected]> | 2018-01-01 12:51:56 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2018-09-19 21:09:16 +0100 |
| commit | 4b3323602850a71c463306aa8ccf343fa5582420 (patch) | |
| tree | d16130b1845afa8a720bdee9af814b988d3efc62 /src/rpc/mining.cpp | |
| parent | Move COINBASE_MATURITY to the consensus parameters (#1426) (diff) | |
| download | discoin-4b3323602850a71c463306aa8ccf343fa5582420.tar.xz discoin-4b3323602850a71c463306aa8ccf343fa5582420.zip | |
Change result from getauxblock to BIP22 validation state
Diffstat (limited to 'src/rpc/mining.cpp')
| -rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 0e2dbe2cb..183082f64 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -1099,7 +1099,7 @@ UniValue getauxblock(const JSONRPCRequest& request) if (fAccepted) coinbaseScript->KeepScript(); - return fAccepted; + return BIP22ValidationResult(sc.state); } /* ************************************************************************** */ |