Merge pull request #11481 from filecoin-project/phi-backport-11480

chore: backport: lotus-provider msg sending fix
This commit is contained in:
Andrew Jackson (Ajax) 2023-12-05 11:23:38 -06:00 committed by GitHub
commit ea467e1103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ func (s *SendTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done b
SignedData []byte `db:"signed_data"` SignedData []byte `db:"signed_data"`
} }
err = s.db.QueryRow(ctx, `select from_key, nonce, to_addr, unsigned_data, unsigned_cid from message_sends where id = $1`, taskID).Scan(&dbMsg) err = s.db.QueryRow(ctx, `select from_key, nonce, to_addr, unsigned_data, unsigned_cid from message_sends where send_task_id = $1`, taskID).Scan(&dbMsg)
if err != nil { if err != nil {
return false, xerrors.Errorf("getting message from db: %w", err) return false, xerrors.Errorf("getting message from db: %w", err)
} }