helius-labs / helius-sdk

123 stars 39 forks source link

Simulation error: [object Object] #95

Closed FractalH closed 2 months ago

FractalH commented 3 months ago

RpcClient.ts line 469:

console.error(Simulation error: ${rpcResponse.value.err})

returns Simulation error: [object Object] when the error is an object E.g. {InsufficientFundsForRent: {account_index: 0}}

0xIchigo commented 2 months ago

This issue is addressed, and can be considered resolved, by #98