Skip to content

Commit

Permalink
Fix sql crash on PaymentRequestEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Dec 23, 2024
1 parent fedaa4a commit c95db46
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ public class PaymentRequestEntity {
@Column(name = "ecwid_api_updated", nullable = false)
private boolean ecwidApiUpdated = false;

private Long blokchainHeight = 0l;
@Transient
private Long blockchainHeight = 0l;
@Transient
private Long confirmations = 0l;
@Transient
private Long requiredConfirmations = 0l;

public String getTxId() {
Expand Down Expand Up @@ -214,11 +217,11 @@ public boolean isPartiallyPaid() {
}

public Long getBlockchainHeight() {
return blokchainHeight;
return blockchainHeight;
}

public void setBlockchainHeight(Long value) {
blokchainHeight = value;
blockchainHeight = value;
}

public Long getConfirmations() {
Expand Down

0 comments on commit c95db46

Please sign in to comment.