Skip to content

Commit 30769ad

Browse files
committed
fix null error
1 parent 781af4a commit 30769ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/org/tron/core/capsule/TransactionCapsule.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ public static byte[] getOwner(Transaction.Contract contract) {
418418
if (!shieldedTransferContract.getTransparentFromAddress().isEmpty()) {
419419
owner = shieldedTransferContract.getTransparentFromAddress();
420420
} else {
421-
owner = null;
421+
return null;
422422
}
423423
break;
424424
// todo add other contract

0 commit comments

Comments
 (0)