mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-22 05:19:42 +00:00
script: remove unused SCRIPT_ERR_LAST
It was introduced in ab9edbd6b6eb3efbca11f16fa467c3c0ef905708 and never used since. It seems it might have been intended to be exposed as part of a public library interface, which has since been superseded. The only call site uses SCRIPT_ERR_ERROR_COUNT directly.
This commit is contained in:
parent
cd1af852fa
commit
51abf7d15b
@ -86,8 +86,6 @@ typedef enum ScriptError_t
|
||||
SCRIPT_ERR_ERROR_COUNT
|
||||
} ScriptError;
|
||||
|
||||
#define SCRIPT_ERR_LAST SCRIPT_ERR_ERROR_COUNT
|
||||
|
||||
std::string ScriptErrorString(ScriptError error);
|
||||
|
||||
#endif // BITCOIN_SCRIPT_SCRIPT_ERROR_H
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user