File tree Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ export const walletHandlers = f.facade<WalletHandlers>({
31
31
) ;
32
32
const account = await oreoWallet . createAccount ( network , name ) ;
33
33
34
- console . log ( "accountzzz" , account ) ;
35
-
36
34
return {
37
35
name : account . name ,
38
36
viewOnly : account . viewOnly ,
@@ -91,8 +89,6 @@ export const walletHandlers = f.facade<WalletHandlers>({
91
89
? await oreoWallet . getActiveAccountWithHeadAndBalances ( network )
92
90
: await oreoWallet . getAccountWithHeadAndBalances ( network , name ) ;
93
91
94
- console . log ( { name } ) ;
95
-
96
92
if ( ! account ) {
97
93
return null ;
98
94
}
Original file line number Diff line number Diff line change @@ -482,8 +482,6 @@ export class WalletDb {
482
482
AccountFormat . Base64Json ,
483
483
) ;
484
484
485
- console . log ( "account" , account ) ;
486
-
487
485
const result = await this . db . transaction ( ) . execute ( async ( db ) => {
488
486
const insertResult = await db
489
487
. insertInto ( "accounts" )
@@ -502,16 +500,13 @@ export class WalletDb {
502
500
// * If the new account has same public address but different name
503
501
// * If the new account has same public address but adds/removes spending key
504
502
if ( ! insertResult . numInsertedOrUpdatedRows ) {
505
- console . log ( "returning existing account" ) ;
506
503
return await db
507
504
. selectFrom ( "accounts" )
508
505
. selectAll ( )
509
506
. where ( "accounts.publicAddress" , "=" , account . publicAddress )
510
507
. executeTakeFirstOrThrow ( ) ;
511
508
}
512
509
513
- console . log ( "returning new account" ) ;
514
-
515
510
// Only set as active account if this was a new insert
516
511
await db
517
512
. updateTable ( "activeAccount" )
@@ -754,8 +749,6 @@ export class WalletDb {
754
749
] )
755
750
. executeTakeFirst ( ) ;
756
751
757
- console . log ( "active" , account ) ;
758
-
759
752
if ( ! account ) return ;
760
753
761
754
const head = await db
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ export function AccountProvider({ children }: { children: ReactNode }) {
25
25
} ,
26
26
) ;
27
27
28
- console . log ( getAccountResult . data ) ;
29
-
30
28
useEffect ( ( ) => {
31
29
if ( getAccountResult . isLoading ) return ;
32
30
You can’t perform that action at this time.
0 commit comments