mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-11 01:33:21 +01:00
Merge bitcoin/bitcoin#34433: script: remove unused SCRIPT_ERR_LAST
51abf7d15bscript: remove unused SCRIPT_ERR_LAST (Antoine Poinsot) Pull request description: It was introduced inab9edbd6b6and 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. ACKs for top commit: billymcbip: tACK51abf7d15bsedited: ACK51abf7d15btheStack: ACK51abf7d15bTree-SHA512: 983b0523b2b5eba57732223af22746c9f29e4759d23366147825d1101f94a9b10c385f305d1425c439a4e29ab28f5a9245691ba6dc31a13f260d3d03b0bf1885
This commit is contained in:
@@ -87,8 +87,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
|
||||
|
||||
Reference in New Issue
Block a user