Skip to content

Commit

Permalink
fix: wrong error throw
Browse files Browse the repository at this point in the history
  • Loading branch information
liujun93 committed Jan 15, 2024
1 parent 05c866a commit 9adffac
Show file tree
Hide file tree
Showing 2 changed files with 1,936 additions and 81 deletions.
3 changes: 0 additions & 3 deletions packages/core/src/bases/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ export class StateBase {
(this as any).walletName
})`
);
if (message && message !== 'InitClient') {
throw new Error(message);
}
this._mutable.message = message;
this.actions?.message?.(message);
}
Expand Down
Loading

0 comments on commit 9adffac

Please sign in to comment.