cleanup of javascript API
This commit is contained in:
		
				
					committed by
					
						
						Bas van Kervel
					
				
			
			
				
	
			
			
			
						parent
						
							87b62f75a7
						
					
				
				
					commit
					bd38428f33
				
			@@ -5,13 +5,6 @@ web3._extend({
 | 
			
		||||
	property: 'personal',
 | 
			
		||||
	methods:
 | 
			
		||||
	[
 | 
			
		||||
		new web3._extend.Method({
 | 
			
		||||
			name: 'listAccounts',
 | 
			
		||||
			call: 'personal_listAccounts',
 | 
			
		||||
			params: 0,
 | 
			
		||||
			inputFormatter: [],
 | 
			
		||||
			outputFormatter: function(obj) { return obj; }
 | 
			
		||||
		}),
 | 
			
		||||
		new web3._extend.Method({
 | 
			
		||||
			name: 'newAccount',
 | 
			
		||||
			call: 'personal_newAccount',
 | 
			
		||||
@@ -29,6 +22,11 @@ web3._extend({
 | 
			
		||||
	],
 | 
			
		||||
	properties:
 | 
			
		||||
	[
 | 
			
		||||
		new web3._extend.Property({
 | 
			
		||||
			name: 'accounts',
 | 
			
		||||
			getter: 'personal_listAccounts',
 | 
			
		||||
			outputFormatter: function(obj) { return obj; }
 | 
			
		||||
		})
 | 
			
		||||
	]
 | 
			
		||||
});
 | 
			
		||||
`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user