Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Merculiar committed Dec 17, 2024
1 parent 9419625 commit fae2c58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import '../models/activity.dart';
import '../models/transaction.dart';
import 'activity_builder.dart';

@Singleton(scope: authScope)
@injectable
class TransactionRepository {
const TransactionRepository(this._db);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class TxUpdater implements Disposable {
return filteredTxs.toSet().toList();
});

Future<List<TokenAccountInfo>> _getAllTokenAccounts(
Future<List<_TokenAccountInfo>> _getAllTokenAccounts(
Ed25519HDPublicKey owner,
) =>
_client.rpcClient
Expand All @@ -118,7 +118,7 @@ class TxUpdater implements Disposable {
final mintAddressBytes = data.data.sublist(0, 32);
final mintAddress = base58encode(mintAddressBytes);

return TokenAccountInfo(
return _TokenAccountInfo(
account: Ed25519HDPublicKey.fromBase58(account.pubkey),
mintAddress: mintAddress,
);
Expand Down Expand Up @@ -217,8 +217,8 @@ extension on TransactionDetails {
}
}

class TokenAccountInfo {
const TokenAccountInfo({
class _TokenAccountInfo {
const _TokenAccountInfo({
required this.account,
required this.mintAddress,
});
Expand Down

0 comments on commit fae2c58

Please sign in to comment.