babylonlabs-io / simple-staking

Other
8 stars 8 forks source link

Wallet: Clean up unused state / refactor BTC part #267

Open gbarkhatov opened 1 day ago

gbarkhatov commented 1 day ago

We are using some state that can be removed

  const [btcWalletProvider, setBTCWalletProvider] =
    useState<IBTCWalletProvider>();
  const [network, setNetwork] = useState<networks.Network>();
  const [publicKeyNoCoord, setPublicKeyNoCoord] = useState("");
  const [address, setAddress] = useState("");