Removed commented out code

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-12 18:58:55 +02:00
parent cd69e57a33
commit 8ad2b3c3d9
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -87,11 +87,6 @@ func (gt *GasTrace) MarshalJSON() ([]byte, error) {
Line: frame.Line,
Function: frame.Function,
}
//fn := strings.Split(frame.Function, "/")
//split := strings.Split(frame.File, "/")
//file := strings.Join(split[len(split)-2:], "/")
//gt.Location += fmt.Sprintf("%s@%s:%d", fn[len(fn)-1], file, frame.Line)
gt.Location = append(gt.Location, l)
if !more {
break