Skip to content

Commit

Permalink
Merge pull request #8219 from filecoin-project/jennijuju-patch-2
Browse files Browse the repository at this point in the history
fix: sealing: PRU insufficient collateral
  • Loading branch information
magik6k authored Mar 2, 2022
2 parents 9c22065 + e0922a7 commit 97cda51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extern/storage-sealing/states_replica_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (m *Sealing) handleSubmitReplicaUpdate(ctx statemachine.Context, sector Sec
log.Errorf("no good address to send replica update message from: %+v", err)
return ctx.Send(SectorSubmitReplicaUpdateFailed{})
}
mcid, err := m.Api.SendMsg(ctx.Context(), from, m.maddr, miner.Methods.ProveReplicaUpdates, big.Zero(), big.Int(m.feeCfg.MaxCommitGasFee), enc.Bytes())
mcid, err := m.Api.SendMsg(ctx.Context(), from, m.maddr, miner.Methods.ProveReplicaUpdates, collateral, big.Int(m.feeCfg.MaxCommitGasFee), enc.Bytes())
if err != nil {
log.Errorf("handleSubmitReplicaUpdate: error sending message: %+v", err)
return ctx.Send(SectorSubmitReplicaUpdateFailed{})
Expand Down

0 comments on commit 97cda51

Please sign in to comment.