Update compiler.tsx

pull/5543/head
Fallengirl 1 month ago committed by Aniket
parent 1169a7015d
commit cc84b09a88
  1. 4
      apps/vyper/src/app/utils/compiler.tsx

@ -178,7 +178,7 @@ export async function compileContract(contract: string, compilerUrl: string, set
} catch (e: any) { } catch (e: any) {
const errorGettingContract: VyperCompilationError = { const errorGettingContract: VyperCompilationError = {
status: 'failed', status: 'failed',
message: e.mesaage, message: e.message,
error_type: 'fetch_contract' error_type: 'fetch_contract'
} }
@ -230,7 +230,7 @@ export async function compileContract(contract: string, compilerUrl: string, set
const errorGettingContract: VyperCompilationError = { const errorGettingContract: VyperCompilationError = {
status: 'failed', status: 'failed',
message: err.mesaage, message: err.message,
error_type: 'unknown_error' error_type: 'unknown_error'
} }

Loading…
Cancel
Save