Browse Source

Merge pull request #92 from jimpo/witness-address

Generate witness addresses instead of p2pkh.
renovate/lint-staged-8.x
JimmyMow 7 years ago
committed by GitHub
parent
commit
0eaf9fcb25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/components/Wallet/ReceiveModal.js
  2. 2
      app/routes/app/components/App.js

2
app/components/Wallet/ReceiveModal.js

@ -64,7 +64,7 @@ const ReceiveModal = ({ isOpen, hideActivityModal, pubkey, address, newAddress,
<section>
<div className={styles.addressHeader}>
<h4>Deposit Address</h4>
<span className={styles.newAddress} onClick={() => newAddress('p2pkh')}>New Address</span>
<span className={styles.newAddress} onClick={() => newAddress('np2wkh')}>New Address</span>
</div>
<p>
<span>{address}</span>

2
app/routes/app/components/App.js

@ -14,7 +14,7 @@ class App extends Component {
fetchTicker()
fetchBalance()
fetchInfo()
newAddress('p2pkh')
newAddress('np2wkh')
}
render() {

Loading…
Cancel
Save