hyperledger / iroha-javascript

JavaScript library for Iroha, a Distributed Ledger Technology (blockchain) platform.
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
94 stars 64 forks source link

Remove `accountId` from the `Signer` #166

Open 0x009922 opened 1 year ago

0x009922 commented 1 year ago

Description

Signer class has accountId field within it. It is located there so that Client can access it.

I think it doesn't make sense. Signer should be constructed only from a key pair, because it is the only one essential part for making signatures.