Skip to content

Commit

Permalink
chore: use String()
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Jun 5, 2024
1 parent a1d9c90 commit bf375c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnovm/stdlibs/std/emit_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func X_emit(m *gno.Machine, typ string, attrs []string) {
ctx := m.Context.(ExecContext)

evt := gnoEvent{
OrigCaller: string(ctx.OrigCaller),
OrigCaller: ctx.OrigCaller.String(),
Prev: prev,
PrevFunc: prevFunc,
PkgPath: pkgPath,
Expand Down

0 comments on commit bf375c6

Please sign in to comment.