Skip to content

Conversation

@philogicae
Copy link
Member

@philogicae philogicae commented Nov 20, 2024

When loading a solana account, it was always falling back to ETHAccount.

@philogicae philogicae self-assigned this Nov 20, 2024
@github-actions github-actions bot added the BLUE This PR is simple and straightforward. label Nov 20, 2024
@github-actions
Copy link

Summary: This PR involves a small change to the account_from_file function, where the default chain parameter is removed from the account_type call. This change does not introduce any new functionality or modify existing logic significantly. The removal of the default chain parameter is a refactoring change, which simplifies the function by reducing the number of parameters.

Highlight:

-    account = account_type(private_key, chain)
+    account = account_type(private_key)

This change is likely to have a minimal impact on the codebase and is unlikely to introduce bugs. It is a routine refactoring task that would typically be handled by a developer with familiarity with the codebase. Therefore, the review complexity is categorized as 'BLUE'.

@philogicae philogicae force-pushed the fix-wrong-account-loading branch from 1569fbc to bd2a4fc Compare November 20, 2024 15:30
@nesitor nesitor merged commit dfd81af into main Nov 26, 2024
12 checks passed
@nesitor nesitor deleted the fix-wrong-account-loading branch November 26, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLUE This PR is simple and straightforward.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants