Skip to content

Commit

Permalink
remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
toandq2009 committed Jan 16, 2024
1 parent 9305d42 commit a12e3b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/mobile/src/stores/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class RootStore {
chainId: chainInfo.chainId,
msgOpts: {
withdrawRewards: {
gas: 200000
gas: 400000
},
send: {
native: {
Expand Down
4 changes: 1 addition & 3 deletions packages/stores/src/account/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ export class AccountSetBase<MsgOpts, Queries> {
});

let txHash: Uint8Array;
console.log('🚀 ~ file: base.ts:375 ~ AccountSetBase<MsgOpts, ~ msgs:', msgs);
try {
if (typeof msgs === 'function') {
msgs = await msgs();
Expand Down Expand Up @@ -738,7 +737,7 @@ export class AccountSetBase<MsgOpts, Queries> {
const isDirectSign = !msgs.aminoMsgs || msgs.aminoMsgs.length === 0;
const aminoMsgs: Msg[] = msgs.aminoMsgs || [];
const protoMsgs: Any[] = msgs.protoMsgs;
console.log('🚀 ~ file: base.ts:741 ~ AccountSetBase<MsgOpts, ~ protoMsgs:', protoMsgs);

if (!protoMsgs || protoMsgs.length === 0) {
throw new Error('There is no msg to send');
}
Expand Down Expand Up @@ -906,7 +905,6 @@ export class AccountSetBase<MsgOpts, Queries> {
): Promise<{
txHash: Uint8Array;
}> {
console.log('🚀 ~ file: base.ts:907 ~ AccountSetBase<MsgOpts, ~ msgs:', msgs);
if (this.walletStatus !== WalletStatus.Loaded) {
throw new Error(`Wallet is not loaded: ${this.walletStatus}`);
}
Expand Down

0 comments on commit a12e3b0

Please sign in to comment.