This commit simply adds an enforce line to check that the height being requested to reset to is below the chain tip. This way we return a bad request error rather than a internal server error. |
||
|---|---|---|
| .. | ||
| fullnode.js | ||
| http.js | ||
| index.js | ||
| node.js | ||
| rpc.js | ||
| spvnode.js | ||