Skip to content

Commit ca40c00

Browse files
committed
Minor fix
1 parent 3a499e5 commit ca40c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/covenantsql/comment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (s *commentStore) New(topicID int64, authorID int64, content string) (int64
5151
_, err = tx.Exec(
5252
`update comments set request_hash=? where id=?`,
5353
receipt.RequestHash.String(),
54-
topicID,
54+
id,
5555
)
5656
if err != nil {
5757
return 0, err

0 commit comments

Comments
 (0)