Allow for memo amount in scan component
This commit is contained in:
parent
f6a41f3893
commit
1134f1760c
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<div align="center" mat-dialog-title>
|
||||
<h4 class="text">Scan to log in!</h4>
|
||||
<h4 class="text">Scan to connect your wallet</h4>
|
||||
</div>
|
||||
|
||||
<mat-dialog-content>
|
||||
|
|
|
@ -27,7 +27,7 @@ export class ScanComponent implements OnInit{
|
|||
this.address = data.addr;
|
||||
this.total = data.totalZec;
|
||||
this.session = data.session;
|
||||
this.codeString = `zcash:${this.address}?amount=${this.total.toFixed(6)}&memo=${URLSafeBase64.encode(Buffer.from('ZGO::'.concat(this.session)))}`;
|
||||
this.codeString = `zcash:${this.address}?amount=${this.total.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGO::'.concat(this.session)))}`;
|
||||
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue