Skip to content

Commit

Permalink
Remove count from TX History filters due to clash with count param
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
  • Loading branch information
peterbroadhurst committed Jul 3, 2023
1 parent 9b59003 commit 5097cbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/persistence/persistence.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ var TXHistoryFilters = &ffapi.QueryFields{
"lastoccurrence": &ffapi.TimeField{},
"substatus": &ffapi.StringField{},
"action": &ffapi.StringField{},
"count": &ffapi.Int64Field{},
"lasterror": &ffapi.JSONField{},
"lasterrortime": &ffapi.TimeField{},
"lastinfo": &ffapi.JSONField{},
// "count": &ffapi.Int64Field{}, /* must not add this as count is a reserved word on the API */
"lasterror": &ffapi.JSONField{},
"lasterrortime": &ffapi.TimeField{},
"lastinfo": &ffapi.JSONField{},
}

type NextNonceCallback func(ctx context.Context, signer string) (uint64, error)
Expand Down

0 comments on commit 5097cbc

Please sign in to comment.