mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-06-05 15:11:44 +00:00
Fix: remove buyNFT not working with sdk
This commit is contained in:
@@ -38,7 +38,6 @@ import {
|
||||
rock_paper_scissor,
|
||||
create_TipLink,
|
||||
listNFTForSale,
|
||||
buyNFT,
|
||||
cancelListing,
|
||||
} from "../tools";
|
||||
import {
|
||||
@@ -360,10 +359,6 @@ export class SolanaAgentKit {
|
||||
return listNFTForSale(this, nftMint, price);
|
||||
}
|
||||
|
||||
async tensorBuyNFT(nftMint: PublicKey, maxPrice: number): Promise<string> {
|
||||
return buyNFT(this, nftMint, maxPrice);
|
||||
}
|
||||
|
||||
async tensorCancelListing(nftMint: PublicKey): Promise<string> {
|
||||
return cancelListing(this, nftMint);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user