Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
lanmeng656 committed Mar 15, 2024
1 parent 9674035 commit 99959b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/control-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ export default class ControlBase {
const allAccounts = await web3Accounts();

allAccounts.forEach((t) => {
t.setSS58Format(11330);
// t.setSS58Format(11330);
t.address = this.formatAccountId(t.address);
});
let account = allAccounts.find((t) => t.address == accountId32);
if (!account) {
account = allAccounts[0];
console.log("account not found!", allAccounts);
console.log("account not found:", allAccounts);
// return { msg: "account not found!" };
return {
signU8A: null,
Expand Down

0 comments on commit 99959b6

Please sign in to comment.