Skip to content

Commit f88643a

Browse files
Changed transaction value passing to referencing
1 parent c367b53 commit f88643a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/session/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (m *Manager) IssueTransaction(w http.ResponseWriter, r *http.Request) {
6161
}
6262

6363
/* add transaction to session - session lock is already held */
64-
if err := m.AddTransaction(session, tx); err != nil {
64+
if err := m.AddTransaction(session, &tx); err != nil {
6565
http.Error(w, "Failed to add transaction", http.StatusInternalServerError)
6666
return
6767
}

0 commit comments

Comments
 (0)