Skip to content

Commit

Permalink
fix: to is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
NeOMakinG committed Nov 20, 2024
1 parent 957945a commit 87894ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/chain-adapters/src/solana/SolanaChainAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ export class ChainAdapter implements IChainAdapter<KnownChainIds.SolanaMainnet>
chainSpecific.addressLookupTableAccounts ?? [],
)

if (!to) throw new Error(`${this.getName()}ChainAdapter: to is required`)
if (!input.value) throw new Error(`${this.getName()}ChainAdapter: value is required`)

const value = Number(input.value)
Expand Down

0 comments on commit 87894ba

Please sign in to comment.