Skip to content

Commit

Permalink
chore: undeprecate fields that are populated from the Mirror Node RES…
Browse files Browse the repository at this point in the history
…T API (#1826)

Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
  • Loading branch information
thenswan authored May 29, 2024
1 parent 895afa2 commit d972c1a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,8 @@ public class AccountBalance {
@Nonnegative
public final Map<TokenId, Long> token = new HashMap<>();

/**
* @deprecated - use a mirror node query
*/
@Deprecated
public final Map<TokenId, Long> tokens;

/**
* @deprecated - use a mirror node query
*/
@Deprecated
@Nonnegative
public final Map<TokenId, Integer> tokenDecimals;

Expand Down
4 changes: 0 additions & 4 deletions sdk/src/main/java/com/hedera/hashgraph/sdk/AccountInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ public final class AccountInfo {
*/
public final List<LiveHash> liveHashes;

/**
* @deprecated use a mirror node query instead
*/
@Deprecated
public final Map<TokenId, TokenRelationship> tokenRelationships;

/**
Expand Down
3 changes: 0 additions & 3 deletions sdk/src/main/java/com/hedera/hashgraph/sdk/ContractInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ public final class ContractInfo {

/**
* The tokens associated to the contract
*
* @deprecated use a mirror node query instead
*/
@Deprecated
public final Map<TokenId, TokenRelationship> tokenRelationships;

/**
Expand Down

0 comments on commit d972c1a

Please sign in to comment.