cardano-minter
cardano-minter copied to clipboard
tx.txIn[0].value.includes is not a function
Update this code
if(Object.keys(tx.txOut[0].value).includes("undefined")|| Object.keys(tx.txIn[0].value.includes("undefinded"))){ delete tx.txOut[0].value.undefined delete tx.txIn[0].value.undefined }
with this one if ( Object.keys(tx.txOut[0].value).includes("undefined") || Object.keys(tx.txIn[0].value).includes("undefinded") ) { delete tx.txOut[0].value.undefined; delete tx.txIn[0].value.undefined; }