Clear web3.currentProvider.isTrust so AirSwap prompts don't mention Trust

pull/667/head
Hwee-Boon Yar 6 years ago
parent 76bd987c1d
commit fcd37ecb81
  1. 1
      AlphaWallet/Browser/Factory/WKWebViewConfiguration.swift

@ -78,6 +78,7 @@ extension WKWebViewConfiguration {
web3.eth.getCoinbase = function(cb) {
return cb(null, addressHex)
}
web3.currentProvider.isTrust = false
"""
let userScript = WKUserScript(source: js, injectionTime: .atDocumentStart, forMainFrameOnly: false)

Loading…
Cancel
Save