update URIToken to support setting a sell offer during minting

This commit is contained in:
Richard Holland
2023-07-13 13:00:23 +00:00
parent 4ae13f2bea
commit e9fc4ced98
3 changed files with 130 additions and 117 deletions

View File

@@ -5567,7 +5567,10 @@ DEFINE_HOOK_FUNCTION(
return NO_FREE_SLOTS;
}
auto [tx, meta] = Import::getInnerTxn(applyCtx.tx, j);
auto [tx, meta] = Import::getInnerTxn(applyCtx.tx, j);
if (!tx || !meta)
return INVALID_TXN;
hookCtx.slot.emplace( std::pair<uint32_t, hook::SlotEntry> { slot_into_tx, hook::SlotEntry {
.storage = std::move(tx),