cardano-minter icon indicating copy to clipboard operation
cardano-minter copied to clipboard

tx.txIn[0].value.includes is not a function

Open nemanjamil opened this issue 2 years ago • 1 comments

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; }

nemanjamil avatar Jan 19 '23 13:01 nemanjamil