->myGetTransaction for nSPV virtualisation
This commit is contained in:
@@ -531,7 +531,7 @@ template <class Helper> int64_t Add1of2AddressInputs(struct CCcontract_info* cp,
|
||||
|
||||
//std::cerr << "Add1of2AddressInputs() txid=" << txid.GetHex() << std::endl;
|
||||
|
||||
if (GetTransaction(txid, heirtx, hashBlock, false) != 0) {
|
||||
if (myGetTransaction(txid, heirtx, hashBlock) != 0) {
|
||||
uint256 tokenid;
|
||||
uint256 fundingTxidInOpret;
|
||||
uint8_t hasHeirSpendingBegunDummy;
|
||||
@@ -579,7 +579,7 @@ template <class Helper> int64_t LifetimeHeirContractFunds(struct CCcontract_info
|
||||
CTransaction heirtx;
|
||||
|
||||
// TODO: check all funding tx should contain unspendable markers
|
||||
if (GetTransaction(txid, heirtx, hashBlock, false) && heirtx.vout.size() > 0) {
|
||||
if (myGetTransaction(txid, heirtx, hashBlock) && heirtx.vout.size() > 0) {
|
||||
uint256 tokenid;
|
||||
uint256 fundingTxidInOpret;
|
||||
uint8_t hasHeirSpendingBegunDummy;
|
||||
@@ -1232,7 +1232,7 @@ void _HeirList(struct CCcontract_info *cp, UniValue &result)
|
||||
//std::cerr << "HeirList() checking txid=" << txid.GetHex() << " vout=" << vout << '\n';
|
||||
|
||||
CTransaction fundingtx;
|
||||
if (GetTransaction(txid, fundingtx, hashBlock, false)) {
|
||||
if (myGetTransaction(txid, fundingtx, hashBlock)) {
|
||||
CPubKey ownerPubkey, heirPubkey;
|
||||
std::string heirName, memo;
|
||||
int64_t inactivityTimeSec;
|
||||
|
||||
Reference in New Issue
Block a user