Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodeymo authored and afkbyte committed Oct 2, 2024
1 parent f6ce39a commit 62be544
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chainio/clients/avsregistry/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ func (w *ChainWriter) RegisterOperator(
return nil, err
}
sigValidForSeconds := int64(60 * 60) // 1 hour
operatorToAvsRegistrationSigExpiry := new(big.Int).Add(new(big.Int).SetUint64(curBlock.Time()), big.NewInt(sigValidForSeconds))
operatorToAvsRegistrationSigExpiry := new(
big.Int,
).Add(new(big.Int).SetUint64(curBlock.Time()), big.NewInt(sigValidForSeconds))

// params to register operator in delegation manager's operator-avs mapping
msgToSign, err := w.elReader.CalculateOperatorAVSRegistrationDigestHash(
Expand Down

0 comments on commit 62be544

Please sign in to comment.