mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge f07a533dfc into merged_master (Bitcoin PR bitcoin/bitcoin#24214)
This commit is contained in:
commit
3b9eb6edd7
2 changed files with 2 additions and 3 deletions
|
|
@ -61,8 +61,8 @@ bool CastToBool(const valtype& vch)
|
|||
* Script is a stack machine (like Forth) that evaluates a predicate
|
||||
* returning a bool indicating valid or not. There are no loops.
|
||||
*/
|
||||
#define stacktop(i) (stack.at(stack.size()+(i)))
|
||||
#define altstacktop(i) (altstack.at(altstack.size()+(i)))
|
||||
#define stacktop(i) (stack.at(size_t(int64_t(stack.size()) + int64_t{i})))
|
||||
#define altstacktop(i) (altstack.at(size_t(int64_t(altstack.size()) + int64_t{i})))
|
||||
static inline void popstack(std::vector<valtype>& stack)
|
||||
{
|
||||
if (stack.empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue