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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
app/components/Wallet/ReceiveModal.js
-
app/routes/app/components/App.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> |
|
|
|
|
|
@ -14,7 +14,7 @@ class App extends Component { |
|
|
|
fetchTicker() |
|
|
|
fetchBalance() |
|
|
|
fetchInfo() |
|
|
|
newAddress('p2pkh') |
|
|
|
newAddress('np2wkh') |
|
|
|
} |
|
|
|
|
|
|
|
render() { |
|
|
|