Removing duplicate sign

This commit is contained in:
Tomasz Drwięga 2017-02-08 14:38:11 +01:00
parent 8c049e5d05
commit ce5dfd8e34
No known key found for this signature in database
GPG Key ID: D066F497E62CAF66
1 changed files with 2 additions and 7 deletions

View File

@ -303,9 +303,9 @@ export default class Parity {
.then(outAddress);
}
postSign (address, hash) {
postSign (from, message) {
return this._transport
.execute('parity_postSign', inAddress(address), inHex(hash));
.execute('parity_postSign', inAddress(from), inHex(message));
}
postTransaction (options) {
@ -313,11 +313,6 @@ export default class Parity {
.execute('parity_postTransaction', inOptions(options));
}
postSign (from, message) {
return this._transport
.execute('parity_postSign', from, message);
}
registryAddress () {
return this._transport
.execute('parity_registryAddress')