From 6ca1b16c74dfc6124d8cdd0b7aac6dab29afd556 Mon Sep 17 00:00:00 2001 From: yinyiqian1 Date: Thu, 11 Jul 2024 10:46:40 -0400 Subject: [PATCH] Add some comment and modify integration test --- packages/xrpl/src/models/transactions/NFTokenModify.ts | 4 ++-- .../xrpl/test/integration/transactions/nftokenModify.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/xrpl/src/models/transactions/NFTokenModify.ts b/packages/xrpl/src/models/transactions/NFTokenModify.ts index ac44f0afc8..e67603fbf7 100644 --- a/packages/xrpl/src/models/transactions/NFTokenModify.ts +++ b/packages/xrpl/src/models/transactions/NFTokenModify.ts @@ -23,8 +23,8 @@ export interface NFTokenModify extends BaseTransaction { */ NFTokenID: string /** - * Indicates the AccountID of the account that owns the - * corresponding NFToken. + * Indicates the AccountID of the account that owns the corresponding NFToken. + * Can be omitted if the owner is the account submitting this transaction */ Owner?: Account /** diff --git a/packages/xrpl/test/integration/transactions/nftokenModify.test.ts b/packages/xrpl/test/integration/transactions/nftokenModify.test.ts index 9c6d1b4019..cd2b561fbc 100644 --- a/packages/xrpl/test/integration/transactions/nftokenModify.test.ts +++ b/packages/xrpl/test/integration/transactions/nftokenModify.test.ts @@ -34,7 +34,7 @@ describe('NFTokenModify', function () { 'modify NFToken URI', async function () { const oldUri = convertStringToHex('https://www.google.com') - const newUri = convertStringToHex('https://www.ripple.com') + const newUri = convertStringToHex('https://www.youtube.com') const mutableMint: NFTokenMint = { TransactionType: 'NFTokenMint',