Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Feb 7, 2025
1 parent e8db928 commit 6ca9812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/solana/chainreader/chain_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func TestSolanaChainReaderService_Start(t *testing.T) {
{Name: "no event reads", ReadDef: accountReadDef},
{Name: "already started", ReadDef: eventReadDef},
{Name: "successful start", ReadDef: eventReadDef},
{Name: "unsucessful start", ReadDef: eventReadDef, StartError: fmt.Errorf("failed to start event reader")},
{Name: "unsuccessful start", ReadDef: eventReadDef, StartError: fmt.Errorf("failed to start event reader")},
{Name: "failed to register filter", ReadDef: eventReadDef, RegisterFilterError: fmt.Errorf("failed to register filter")},
}

Expand All @@ -128,8 +128,8 @@ func TestSolanaChainReaderService_Start(t *testing.T) {
Namespaces: map[string]config.ChainContractReader{
"myChainReader": {
IDL: codec.IDL{
Accounts: []codec.IdlTypeDef{{"myAccount",
codec.IdlTypeDefTy{
Accounts: []codec.IdlTypeDef{{Name: "myAccount",
Type: codec.IdlTypeDefTy{
Kind: codec.IdlTypeDefTyKindStruct,
Fields: &[]codec.IdlField{}}}},
Events: []codec.IdlEvent{{Name: "myEvent", Fields: []codec.IdlEventField{{Name: "a", Type: boolType}}}},
Expand Down

0 comments on commit 6ca9812

Please sign in to comment.