Skip to content

Commit 7598e4f

Browse files
Merge pull request #7552 from HenrikJannsen/Remove-null-check-for-unLockupTxId
Remove null check for unLockupTxId
2 parents f771e65 + 49e96cb commit 7598e4f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bridge/src/main/java/bisq/bridge/grpc/services/BsqBlockGrpcService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ private Optional<BondedReputationDto> toBondedReputationDto(Tx tx,
217217
.map(bondedReputation -> {
218218
String lockupTxId = checkNotNull(bondedReputation.getLockupTxId(),
219219
"lockupTxId must not be null if txType is LOCKUP. bondedReputation=" + bondedReputation);
220-
checkArgument(bondedReputation.getUnlockTxId() == null,
221-
"unLockupTxId must be null if txType is LOCKUP. bondedReputation=" + bondedReputation);
222220
checkArgument(lockupTxId.equals(txId),
223221
"lockupTxId must match txId if txType is LOCKUP. bondedReputation=" + bondedReputation);
224222
return new BondedReputationDto(bondedReputation.getAmount(),

0 commit comments

Comments
 (0)