Skip to content

Commit c47cad7

Browse files
authored
Return empty array from eth_accounts instead of hardcoded address (#140)
1 parent 443987c commit c47cad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ export const methods = {
10231023
.digest('hex')
10241024
logEventEmitter.emit('fn_start', ticket, api_name, performance.now())
10251025
/* prettier-ignore */ if (firstLineLogs) { console.log('Running eth_accounts', args) }
1026-
const result = ['0x407d73d8a49eeb85d32cf465507dd71d507100c1']
1026+
const result: string[] = []
10271027

10281028
logEventEmitter.emit('fn_end', ticket, { success: true }, performance.now())
10291029
callback(null, result)

0 commit comments

Comments
 (0)