blockworks-foundation / lite-rpc

This is a solana lite rpc which optimizes sending transactions and confirming transactions strategies.
GNU Affero General Public License v3.0
161 stars 43 forks source link

Bugfix,379 identity key pair loading must be optional #381

Closed grooviegermanikus closed 3 months ago

grooviegermanikus commented 3 months ago

fixes https://github.com/blockworks-foundation/lite-rpc/issues/379

note: also affects non-proxy part as precedence between loading from ENV and cli gets changed:

  1. check if env variable IDENTITY is present
  2. check if cli arg --identity-keypair is present
  3. assume no identity