fix: solana error typo (#3001)

This commit is contained in:
Alber 2023-06-07 15:38:09 +01:00 committed by GitHub
parent 87ca286f88
commit 2ce2887577
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,11 +32,11 @@ export async function execute_solana(
) {
const { rpc, key } = NETWORKS[network][chain];
if (!key) {
throw Error(`No ${network} key defined for NEAR`);
throw Error(`No ${network} key defined for ${chain}`);
}
if (!rpc) {
throw Error(`No ${network} rpc defined for NEAR`);
throw Error(`No ${network} rpc defined for ${chain}`);
}
const connection = setupConnection(rpc);