Skip to content

Commit

Permalink
Add Block struct and methods, and fix chainState type in LocalCosigner
Browse files Browse the repository at this point in the history
  • Loading branch information
nitronit committed Dec 15, 2023
1 parent d297fa4 commit eca9760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
File renamed without changes.
3 changes: 2 additions & 1 deletion signer/local_cosigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type LocalCosigner struct {
logger cometlog.Logger
config *RuntimeConfig
security CosignerSecurity
chainState sync.Map
chainState sync.Map // TODO: Add type so its not any?
address string
pendingDiskWG sync.WaitGroup

Expand All @@ -53,6 +53,7 @@ func NewLocalCosigner(
}
}

// FIX: Maybe name this something else and move the curve here as well.
type ChainState struct {
// lastSignState stores the last sign state for an HRS we have fully signed
// incremented whenever we are asked to sign an HRS
Expand Down

0 comments on commit eca9760

Please sign in to comment.