Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bca-token-app/src/lib/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function get_wallet_balance(wallet: WalletInformation, ev: any): Pr
// await contract.methods.decimals().call().then(console.log);
// const decimals = await contract.methods.decimals().call();
// const decimals = 10;
console.log("decimals = " + decimals)
// console.log("decimals = " + decimals)
wallet.walletbalance = Number(await window.web3.eth.getBalance(wallet.walletaddr));
if (!!wallet.walletbalance) { wallet.walletbalance = wallet.walletbalance / (10 ** decimals) }
wallet.warning = undefined
Expand Down Expand Up @@ -85,8 +85,8 @@ export async function get_wallet_addr(wallet: WalletInformation, ev: any): Promi

wallet.walletaddr = selectedAccount;
wallet.warning = undefined
console.log("address: " + wallet.walletaddr)
console.log("network: " + wallet.walletnetwork)
// console.log("address: " + wallet.walletaddr)
// console.log("network: " + wallet.walletnetwork)

} catch (error) {
wallet.warning = "error while accessing wallet: " + error;
Expand Down
1 change: 1 addition & 0 deletions bca-token-market/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ node_modules
package-lock.json
prisma/migrations

src/lib/bca_*-abi.json
376 changes: 0 additions & 376 deletions bca-token-market/src/lib/bca_service-abi.json

This file was deleted.

Loading
Loading