lpwindow: proof_message -> proof_params rename
This commit is contained in:
1 parent
5c5055884c
commit
de280a5708
4 files changed
+5
-3
No files matched your search
@@ -157,6 +157,8 @@ func (s *Sender) Send(ctx context.Context, msg *types.Message, mss *api.MessageS
|
||||
// push to mpool
|
||||
_, err = s.api.MpoolPush(ctx, sigMsg)
|
||||
if err != nil {
|
||||
// TODO: We may get nonce gaps here..
|
||||
|
||||
return cid.Undef, xerrors.Errorf("mpool push: failed to push message: %w", err)
|
||||
}
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ func (t *WdPostTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done
|
||||
partition,
|
||||
submit_at_epoch,
|
||||
submit_by_epoch,
|
||||
proof_message)
|
||||
proof_params)
|
||||
VALUES ($1, $2, $3, $4, $5, $6, $7)`,
|
||||
spID,
|
||||
pps,
|
||||
|
||||
@@ -79,7 +79,7 @@ func (w *WdPostSubmitTask) Do(taskID harmonytask.TaskID, stillOwned func() bool)
|
||||
var dbTask uint64
|
||||
|
||||
err = w.db.QueryRow(
|
||||
context.Background(), `SELECT sp_id, proving_period_start, deadline, partition, submit_at_epoch, submit_by_epoch, proof_message, submit_task_id
|
||||
context.Background(), `SELECT sp_id, proving_period_start, deadline, partition, submit_at_epoch, submit_by_epoch, proof_params, submit_task_id
|
||||
FROM wdpost_proofs WHERE submit_task_id = $1`, taskID,
|
||||
).Scan(&spID, &pps, &deadline, &partition, &submitAtEpoch, &submitByEpoch, &earlyParamBytes, &dbTask)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user