feat: return null when account info not found
This commit is contained in:
		
				
					committed by
					
						 Michael Vines
						Michael Vines
					
				
			
			
				
	
			
			
			
						parent
						
							0fcb1f6f56
						
					
				
				
					commit
					7989c10b7a
				
			| @@ -176,11 +176,11 @@ declare module '@solana/web3.js' { | ||||
|     getAccountInfoAndContext( | ||||
|       publicKey: PublicKey, | ||||
|       commitment: ?Commitment, | ||||
|     ): Promise<RpcResponseAndContext<AccountInfo>>; | ||||
|     ): Promise<RpcResponseAndContext<AccountInfo | null>>; | ||||
|     getAccountInfo( | ||||
|       publicKey: PublicKey, | ||||
|       commitment: ?Commitment, | ||||
|     ): Promise<AccountInfo>; | ||||
|     ): Promise<AccountInfo | null>; | ||||
|     getProgramAccounts( | ||||
|       programId: PublicKey, | ||||
|       commitment: ?Commitment, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user