mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Assets: Adapt input loops to asset definition transactions
This commit is contained in:
parent
5d6d4beed7
commit
ddc38c27b8
12 changed files with 59 additions and 42 deletions
|
|
@ -100,7 +100,7 @@ void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry)
|
|||
entry.pushKV("locktime", (int64_t)tx.nLockTime);
|
||||
|
||||
UniValue vin(UniValue::VARR);
|
||||
BOOST_FOREACH(const CTxIn& txin, tx.vin) {
|
||||
FOREACH_TXIN(txin, tx) {
|
||||
UniValue in(UniValue::VOBJ);
|
||||
if (tx.IsCoinBase())
|
||||
in.pushKV("coinbase", HexStr(txin.scriptSig.begin(), txin.scriptSig.end()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue