Skip to content

Commit

Permalink
fix: fix slice init length
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjingcun authored Oct 25, 2024
1 parent 4ae8d48 commit 88a027c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/core/tokens_file_loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func TestLoadTokensFromUrl(t *testing.T) {
tokensMetadata := make([]TokenMetadata, 2)
tokensMetadata := make([]TokenMetadata, 0, 2)
tokensMetadata = append(tokensMetadata, TokenMetadata{
Address: "",
IsNative: true,
Expand Down

0 comments on commit 88a027c

Please sign in to comment.