Remove htmlSafeAttr

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-12 15:26:58 +02:00
parent 813940762c
commit 00385acc1d
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -1062,9 +1062,6 @@ func computeStateHtmlT(ts *types.TipSet, o *api.ComputeStateOutput, getCode func
"SumGas": sumGas,
"CodeStr": codeStr,
"Call": call,
"htmlSafeAttr": func(html string) template.HTMLAttr {
return template.HTMLAttr(html)
},
}).Parse(compStateTemplate)
if err != nil {
return err