mirror of https://github.com/status-im/web3.js.git
fixed test
This commit is contained in:
parent
ed0431c00b
commit
fc9e96473a
|
@ -5520,13 +5520,15 @@ var methods = function () {
|
|||
var newAccount = new Method({
|
||||
name: 'newAccount',
|
||||
call: 'personal_newAccount',
|
||||
params: 1
|
||||
params: 1,
|
||||
inputFormatter: [null]
|
||||
});
|
||||
|
||||
var unlockAccount = new Method({
|
||||
name: 'unlockAccount',
|
||||
call: 'personal_unlockAccount',
|
||||
params: 2
|
||||
params: 3,
|
||||
inputFormatter: [null, null, null]
|
||||
});
|
||||
|
||||
return [
|
||||
|
@ -5544,6 +5546,7 @@ var properties = function () {
|
|||
];
|
||||
};
|
||||
|
||||
|
||||
module.exports = Personal;
|
||||
|
||||
},{"../method":36,"../property":44}],41:[function(require,module,exports){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5520,13 +5520,15 @@ var methods = function () {
|
|||
var newAccount = new Method({
|
||||
name: 'newAccount',
|
||||
call: 'personal_newAccount',
|
||||
params: 1
|
||||
params: 1,
|
||||
inputFormatter: [null]
|
||||
});
|
||||
|
||||
var unlockAccount = new Method({
|
||||
name: 'unlockAccount',
|
||||
call: 'personal_unlockAccount',
|
||||
params: 2
|
||||
params: 3,
|
||||
inputFormatter: [null, null, null]
|
||||
});
|
||||
|
||||
return [
|
||||
|
@ -5544,6 +5546,7 @@ var properties = function () {
|
|||
];
|
||||
};
|
||||
|
||||
|
||||
module.exports = Personal;
|
||||
|
||||
},{"../method":36,"../property":44}],41:[function(require,module,exports){
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -46,13 +46,15 @@ var methods = function () {
|
|||
var newAccount = new Method({
|
||||
name: 'newAccount',
|
||||
call: 'personal_newAccount',
|
||||
params: 1
|
||||
params: 1,
|
||||
inputFormatter: [null]
|
||||
});
|
||||
|
||||
var unlockAccount = new Method({
|
||||
name: 'unlockAccount',
|
||||
call: 'personal_unlockAccount',
|
||||
params: 2
|
||||
params: 3,
|
||||
inputFormatter: [null, null, null]
|
||||
});
|
||||
|
||||
return [
|
||||
|
@ -70,4 +72,5 @@ var properties = function () {
|
|||
];
|
||||
};
|
||||
|
||||
|
||||
module.exports = Personal;
|
||||
|
|
|
@ -6,7 +6,13 @@ var method = 'unlockAccount';
|
|||
|
||||
var tests = [{
|
||||
args: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', 'P@ssw0rd!'],
|
||||
formattedArgs: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', 'P@ssw0rd!'],
|
||||
formattedArgs: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', 'P@ssw0rd!', null],
|
||||
result: true,
|
||||
formattedResult: true,
|
||||
call: 'personal_'+ method
|
||||
},{
|
||||
args: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', 'P@ssw0rd!', 10],
|
||||
formattedArgs: ['0x47d33b27bb249a2dbab4c0612bf9caf4c1950855', 'P@ssw0rd!', 10],
|
||||
result: true,
|
||||
formattedResult: true,
|
||||
call: 'personal_'+ method
|
||||
|
|
Loading…
Reference in New Issue