Skip to content

Commit

Permalink
Addressed PR comments (#9672)
Browse files Browse the repository at this point in the history
Signed-off-by: ilko-iliev-lime <ilko.iliev@limechain.tech>
  • Loading branch information
ilko-iliev-lime committed Nov 10, 2023
1 parent 68ce155 commit 09c4b07
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import static com.hedera.node.app.service.contract.impl.exec.systemcontracts.hts.ReturnTypes.ZERO_FRACTION;
import static com.hedera.node.app.service.contract.impl.exec.systemcontracts.hts.ReturnTypes.ZERO_TOKEN_ID;
import static com.hedera.node.app.service.contract.impl.utils.ConversionUtils.headlongAddressOf;
import static java.util.Objects.requireNonNull;

import com.esaulpaugh.headlong.abi.Tuple;
import com.hedera.hapi.node.base.Key;
Expand Down Expand Up @@ -232,8 +233,8 @@ public static Tuple nftTokenInfoTupleFor(
@NonNull final Nft nft,
final long serialNumber,
@NonNull final String ledgerId,
Account ownerAccount) {

@NonNull Account ownerAccount) {
requireNonNull(ownerAccount);
final var nftMetaData = nft.metadata() != null ? nft.metadata().toByteArray() : Bytes.EMPTY.toByteArray();

return Tuple.of(
Expand Down

0 comments on commit 09c4b07

Please sign in to comment.