Skip to content

Commit

Permalink
fix: sol insufficient funds for rent alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
weatherstar committed Oct 19, 2023
1 parent d45baa7 commit ab6876b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/engine/src/vaults/impl/sol/Vault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ export default class Vault extends VaultBase {
// https://docs.solana.com/developing/intro/rent
if (
rpcErrorData.code === -32002 &&
rpcErrorData.message.endsWith('without insufficient funds for rent')
rpcErrorData.message.endsWith('insufficient funds for rent')
) {
isNodeBehind = false;
throw new MinimumTransferBalanceRequiredError(
Expand Down

0 comments on commit ab6876b

Please sign in to comment.