mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge e360a967b6 into merged_master (Elements PR #1518)
This commit is contained in:
commit
93159ee063
2 changed files with 10 additions and 7 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#include <script/script.h>
|
||||
#include <uint256.h>
|
||||
extern "C" {
|
||||
#include <simplicity/elements/env.h>
|
||||
#include <simplicity/elements/exec.h>
|
||||
#include <simplicity/errorCodes.h>
|
||||
}
|
||||
|
|
@ -2650,6 +2651,10 @@ void PrecomputedTransactionData::Init(const T& txTo, std::vector<CTxOut>&& spent
|
|||
}
|
||||
}
|
||||
|
||||
void SimplicityTransactionDeleter::operator()(elementsTransaction* ptr) const {
|
||||
simplicity_elements_freeTransaction(ptr);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
PrecomputedTransactionData::PrecomputedTransactionData(const T& txTo)
|
||||
: PrecomputedTransactionData(uint256{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue