Skip to content

Commit

Permalink
Merge pull request #20 from sprotest/feature/verify-doc
Browse files Browse the repository at this point in the history
Feature/verify doc
  • Loading branch information
tafonina authored Nov 2, 2023
2 parents 18b6f1c + d700aa2 commit 88dd2fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/wallet/src/ProxeusEthereum/WalletInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class WalletInterface {
// make sure we are using the web3 we want and not the one provided by metamask
this.web3 = new Web3(Web3.givenProvider || 'ws://localhost:8545')

this.useProxeusWallet = (typeof window.ethereum !== 'undefined' && network !== this.getNetworkNameById(window.ethereum.networkVersion)) || forceProxeusWallet || typeof window.ethereum === 'undefined'
this.useProxeusWallet = forceProxeusWallet || typeof window.ethereum === 'undefined'

this.web3.eth.getTransactionReceiptMined = getTransactionReceiptMined
this.serviceConfig = serviceConfig[network]
Expand Down Expand Up @@ -421,7 +421,6 @@ class WalletInterface {
}
}


async verifyHash(hash) {
const result = await this.proxeusFS.fileVerify(hash)

Expand Down

0 comments on commit 88dd2fd

Please sign in to comment.