Skip to content

Commit

Permalink
Merge pull request #79 from Zondax/remove-client-deal
Browse files Browse the repository at this point in the history
Remove sign client deal
  • Loading branch information
chcmedeiros authored Jan 14, 2025
2 parents 1e33c01 + a412852 commit 4a8c544
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion README-npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Use `yarn install` to avoid issues.
| appInfo | name, version, flags, etc | --------------- |
| deviceInfo | fw and mcu version, id, etc | Only available in dashboard |
| sign | signed message | path + message |
| signClientDeal | signed message | path + message |
| signRawBytes | signed message | path + message |
| signETHTransaction | signed message | path + message |
| getETHAddress | pubkey + address | path |
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Use `yarn install` to avoid issues.
| appInfo | name, version, flags, etc | --------------- |
| deviceInfo | fw and mcu version, id, etc | Only available in dashboard |
| sign | signed message | path + message |
| signClientDeal | signed message | path + message |
| signRawBytes | signed message | path + message |
| signETHTransaction | signed message | path + message |
| getETHAddress | pubkey + address | path |
Expand Down
1 change: 0 additions & 1 deletion src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const INS = {
GET_VERSION: 0x00,
GET_ADDR_SECP256K1: 0x01,
SIGN_SECP256K1: 0x02,
SIGN_CLIENT_DEAL: 0x06,
SIGN_RAW_BYTES: 0x07,
};

Expand Down
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,6 @@ export default class FilecoinApp {
return this.signGeneric(path, message, INS.SIGN_SECP256K1);
}

async signClientDeal(path, message) {
return this.signGeneric(path, message, INS.SIGN_CLIENT_DEAL);
}

async signRawBytes(path, message) {
const msg = Buffer.from(message);
const len = Buffer.from(varint.encode(msg.length));
Expand Down

0 comments on commit 4a8c544

Please sign in to comment.