Skip to content

Commit 634054c

Browse files
magik6krvagg
authored andcommitted
sender: load signeddata (#610)
1 parent 4591fbc commit 634054c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/message/sender.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ func (s *SendTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done b
8181
}
8282

8383
err = s.db.QueryRow(ctx, `
84-
SELECT from_key, nonce, to_addr, unsigned_data, unsigned_cid
84+
SELECT from_key, nonce, to_addr, unsigned_data, unsigned_cid, signed_data
8585
FROM message_sends
8686
WHERE send_task_id = $1`, taskID).Scan(
87-
&dbMsg.FromKey, &dbMsg.Nonce, &dbMsg.ToAddr, &dbMsg.UnsignedData, &dbMsg.UnsignedCid)
87+
&dbMsg.FromKey, &dbMsg.Nonce, &dbMsg.ToAddr, &dbMsg.UnsignedData, &dbMsg.UnsignedCid, &dbMsg.SignedData)
8888
if err != nil {
8989
return false, xerrors.Errorf("getting message from db: %w", err)
9090
}

0 commit comments

Comments
 (0)