Skip to content

Commit 8a0cf1b

Browse files
authored
Merge pull request #74 from UniqueNetwork/release/v1.6.0
Release/v1.6.0
2 parents a0413f8 + 0942128 commit 8a0cf1b

3 files changed

Lines changed: 23469 additions & 3439 deletions

File tree

lib/providerAPI/bridgeProviderAPI/implement/implementOpalAPI.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ class ImplementOpalAPI extends ImplementorAPI {
1616
let tokenData = await this._api.query.nonfungible.tokenData(collectionId, tokenId);
1717
let data = tokenData.toJSON();
1818

19-
let rpcData = await this._api.rpc.unique.tokenOwner(collectionId, tokenId);
20-
2119
let constData = await this._api.rpc.unique.constMetadata(
2220
collectionId,
2321
tokenId
@@ -27,7 +25,7 @@ class ImplementOpalAPI extends ImplementorAPI {
2725
tokenId
2826
);
2927

30-
const owner = data?.owner || rpcData.toJSON();
28+
const owner = data?.owner;
3129

3230
//console.log(owner);
3331

0 commit comments

Comments
 (0)