@ -240,7 +240,7 @@ function renderUnknownTransaction (self, data) {
input:data.tx.input,
hash:data.tx.hash,
gas:data.tx.gas,
logs:JSON.stringify(data.logs)||'0'
logs:data.logs
})
tx.appendChild(table)
}
@ -384,7 +384,9 @@ function createTable (opts) {
varlogs=yo`
<trclass="${css.tr}">
<tdclass="${css.td}">logs</td>
<tdclass="${css.td}"><iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(opts.logs||'0')}}title='Copy to clipboard'></i>${opts.logs||'0'}</td>
<tdclass="${css.td}">
<iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(JSON.stringify(opts.logs.decoded||[],null,'\t'))}}title='Copy Logs to clipboard'></i>
<iclass="fa fa-clipboard ${css.clipboardCopy}"aria-hidden="true"onclick=${function(){copy(JSON.stringify(opts.logs.raw||'0'))}}title='Copy Raw Logs to clipboard'></i>${JSON.stringify(opts.logs.decoded||[],null,'\t')}</td>