Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #386 from PureStake/develop
Browse files Browse the repository at this point in the history
UI transaction note fix for Ledger
  • Loading branch information
Jan Marcano authored Mar 25, 2022
2 parents 8adaef2 + ce41e18 commit 429fa08
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ This update is focused around rekey and changes to accommodate it. Both normal a
- Transactions with rekeyed accounts now accepted
- Reference accounts can now be imported with public key only

### Patch 1.8.3

Fix for transaction notes created in the UI and signed with a Ledger device.

### Patch 1.8.2

Fix for Ledger transactions created in the UI with transfer amounts set to 0.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "algosigner",
"version": "1.8.2",
"version": "1.8.3",
"author": "https://developer.purestake.io",
"description": "Sign Algorand transactions in your browser with PureStake.",
"repository": "https://github.com/PureStake/algosigner",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@algosigner/common",
"version": "1.8.2",
"version": "1.8.3",
"author": "https://developer.purestake.io",
"description": "Common library functions for AlgoSigner.",
"repository": "https://github.com/PureStake/algosigner",
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "algosigner-crypto",
"version": "1.8.2",
"version": "1.8.3",
"author": "https://developer.purestake.io",
"description": "Cryptographic wrapper for saving and retrieving extention information in Algosigner.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@algosigner/dapp",
"version": "1.8.2",
"version": "1.8.3",
"author": "https://developer.purestake.io",
"repository": "https://github.com/PureStake/algosigner",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "AlgoSigner",
"author": "https://developer.purestake.io",
"version": "1.8.2",
"version": "1.8.3",
"description": "Algorand Wallet Extension | Send & Receive ALGOs | Sign dApp Transactions",
"icons": {
"48": "icon.png"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "algosigner-extension",
"version": "1.8.2",
"version": "1.8.3",
"author": "https://developer.purestake.io",
"repository": "https://github.com/PureStake/algosigner",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "algosigner-storage",
"version": "1.8.2",
"version": "1.8.3",
"author": "https://developer.purestake.io",
"repository": "https://github.com/PureStake/algosigner",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-project/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "algorand-test-project",
"version": "1.8.2",
"version": "1.8.3",
"repository": "https://github.com/PureStake/algosigner",
"license": "MIT",
"description": "Repository for tests",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "algosigner-ui",
"version": "1.8.2",
"version": "1.8.3",
"author": "https://developer.purestake.io",
"repository": "https://github.com/PureStake/algosigner",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ function cleanseBuildEncodeUnsignedTransaction(transaction: any): any {
}
}

if ('note' in removedFieldsTxn){
removedFieldsTxn['note'] = new Uint8Array(Buffer.from(removedFieldsTxn['note']));
}

const builtTx = new Transaction(removedFieldsTxn);
const byteTxn = algosdk.encodeUnsignedTransaction(builtTx);

Expand Down

0 comments on commit 429fa08

Please sign in to comment.