@everlend/general-pool
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -138,3 +138,3 @@ "use strict"; | ||
let unwrapAccounts = undefined; | ||
if (tokenMint == spl_token_1.NATIVE_MINT) { | ||
if (tokenMint.equals(spl_token_1.NATIVE_MINT)) { | ||
const unwrapTokenAccount = yield accounts_1.WithdrawalRequest.getUnwrapSOLPDA(withdrawalRequest); | ||
@@ -141,0 +141,0 @@ unwrapAccounts = { |
{ | ||
"name": "@everlend/general-pool", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -252,3 +252,3 @@ import { AccountLayout, MintLayout, TOKEN_PROGRAM_ID, NATIVE_MINT } from '@solana/spl-token' | ||
let unwrapAccounts: UnwrapParams = undefined | ||
if (tokenMint == NATIVE_MINT) { | ||
if (tokenMint.equals(NATIVE_MINT)) { | ||
const unwrapTokenAccount = await WithdrawalRequest.getUnwrapSOLPDA(withdrawalRequest) | ||
@@ -255,0 +255,0 @@ unwrapAccounts = { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137054