Skip to content

Commit

Permalink
node: remove getAuctionInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
rithvikvibhu committed Jul 5, 2022
1 parent d92aabd commit b2d7ace
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion app/background/node/client.js
Expand Up @@ -12,7 +12,6 @@ export const clientStub = ipcRendererInjector => makeClient(ipcRendererInjector,
'getNameInfo',
'getTXByAddresses',
'getNameByHash',
'getAuctionInfo',
'getBlockByHeight',
'getTx',
'broadcastRawTx',
Expand Down
5 changes: 0 additions & 5 deletions app/background/node/service.js
Expand Up @@ -440,10 +440,6 @@ export class NodeService extends EventEmitter {
return name;
}

async getAuctionInfo(name) {
return this._execRPC('getauctioninfo', [name], true);
}

async getBlock(height) {
if (await this.getSpvMode()) {
return hapiGet(`/block/${block}`);
Expand Down Expand Up @@ -616,7 +612,6 @@ const methods = {
getInfo: () => service.getInfo(),
getNameInfo: (name) => service.getNameInfo(name),
getNameByHash: (hash) => service.getNameByHash(hash),
getAuctionInfo: (name) => service.getAuctionInfo(name),
getBlock: (height) => service.getBlock(height),
generateToAddress: (numblocks, address) => service.generateToAddress(numblocks, address),
getTXByAddresses: (addresses) => service.getTXByAddresses(addresses),
Expand Down
4 changes: 0 additions & 4 deletions app/utils/nodeClient.js
Expand Up @@ -27,10 +27,6 @@ const nodeClient = {
return node.getNameByHash(hash);
},

getAuctionInfo: async (name) => {
return node.getAuctionInfo(name);
},

getBlockByHeight: async (height, verbose, details) => {
return node.getBlockByHeight(height, verbose, details);
},
Expand Down

0 comments on commit b2d7ace

Please sign in to comment.