Skip to content

Commit

Permalink
fix: remove balance column on stake address entity
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-ThinhVu committed May 8, 2024
1 parent 6b17a8f commit 7507285
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,11 @@ public class StakeAddress extends BaseEntity {
@Hash28Type
private String scriptHash;

@Column(name = "balance", nullable = false, precision = 39)
@Word128Type
@Digits(integer = 39, fraction = 0)
private BigInteger balance;

@Column(name = "available_reward", nullable = false, precision = 39)
@Word128Type
@Digits(integer = 39, fraction = 0)
private BigInteger availableReward;

// @OneToMany(fetch = FetchType.LAZY, mappedBy = "stakeAddress")
// private List<Address> addresses;

@Override
public boolean equals(Object o) {
if (this == o) {
Expand Down

0 comments on commit 7507285

Please sign in to comment.