@@ -1,7 +1,6 @@
11import React, { useState } from 'react';
22import { Grid, Text } from 'indigo-react';
33import { useWallet } from 'store/wallet';
4−import { usePointCursor } from 'store/pointCursor';
54
65import { useLocalRouter } from 'lib/LocalRouter';
76
@@ -18,7 +17,6 @@ import BridgeForm from 'form/BridgeForm';
1817import * as need from 'lib/need';
1918import * as bitcoin from 'bitcoinjs-lib';
2019import * as bs58check from 'bs58check';
21−import ob from 'urbit-ob';
2220import { Buffer } from 'buffer';
2321import { composeValidator, buildPsbtValidator } from 'form/validators';
2422
@@ -32,7 +30,6 @@ function xpubToZpub(xpub) {
3230export default function Bitcoin() {
3331 const { pop } = useLocalRouter();
3432 const { urbitWallet } = useWallet();
35− const { pointCursor } = usePointCursor();
3633
3734
3835 const empty = new bitcoin.Psbt();
@@ -40,8 +37,6 @@ export default function Bitcoin() {
4037 const [signedTx, setSignedTx] = useState('');
4138 const [psbt, setPsbt] = useState(empty);
4239
43− const pointName = ob.patp(need.point(pointCursor));
44−
4540 const privKey = need.urbitWallet(urbitWallet).bitcoin.keys.private;
4641 const pubKey = need.urbitWallet(urbitWallet).bitcoin.keys.public;
4742 const chain = need.urbitWallet(urbitWallet).bitcoin.keys.chain;
@@ -104,9 +99,9 @@ export default function Bitcoin() {
10499 money, since your private keys are exposed to the browser.
105100 </Grid.Item>
106101 <Grid.Item full className="mt4" as={Text}>
107− Below is the bitcoin extended public key derived from your point
108− {' ' + pointName}. You can paste it to Landscape to generate an
109− unsigned transaction.
102+ Below is the bitcoin extended public key derived from your master
103+ ticket. You can paste it to Landscape to generate an unsigned
104+ transaction.
110105 </Grid.Item>
111106 <Grid.Item full className="mt4" as={Text}>
112107 <Highlighted>