Skip to content

Commit c126a2b

Browse files
committed
ut updateaAccount
1 parent ee2acc4 commit c126a2b

File tree

5 files changed

+138
-128
lines changed

5 files changed

+138
-128
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## JS SDK Version ChangeLog
44

55
----
6+
#### v1.3.0 -- no release
7+
formatter Uint8Array support
8+
69
#### v0.2.9 -- no release
710
No release, but add NFT layer2 Transfer Unit test
811

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@loopring-web/loopring-sdk",
3-
"version": "0.2.9",
3+
"version": "1.3.0",
44
"author": "Loopring Dev Team",
55
"description": "Loopring SDK",
66
"private": false,

src/api/user_api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ export class UserAPI extends BaseAPI {
11891189
try {
11901190
if (isHWAddr) {
11911191
await sigHW()
1192-
} else {
1192+
} else { toHex
11931193
const result = (await sign_tools.signUpdateAccountWithDataStructure(web3, request, chainId))
11941194
ecdsaSignature = result.ecdsaSig + SigSuffix.Suffix02
11951195
}

src/tests/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const loopring_exported_account = {
5555
accountId: 10083,
5656
accountId2: 10488,
5757
addressWhitlisted: '0x35405E1349658BcA12810d0f879Bf6c5d89B512C',
58-
// apiKey: '2PYgTOZwXHkPXtJMlOMG06ZX1QKJInpoky6iYIbtMgmkbfdL4PvxyEOj0LPOfgYX',
58+
apiKey: '2PYgTOZwXHkPXtJMlOMG06ZX1QKJInpoky6iYIbtMgmkbfdL4PvxyEOj0LPOfgYX',
5959
chainId: 5,
6060
publicKeyX: '0x1256c6535c9de10e874a59d098364ea67f6341a0e519971068b916d94ab95476',
6161
publicKeyY: '0x1a84c4104e002c506302239c8c68756b91cfa62a7a6d76be6fa8534b2feba3a3',

0 commit comments

Comments
 (0)