Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
Show correct confirmations
Browse files Browse the repository at this point in the history
  • Loading branch information
dev0tion committed Nov 20, 2020
1 parent aff36d5 commit 788fea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions StratisCore.UI/src/app/wallet/send/send.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ <h5 class="modal-title">Send to</h5>
</div>
<div class="form-group clearfix">
<div>
<div class="alert alert-warning py-1">An additional amount of {{ opReturnAmount | coinNotation }} {{ coinUnit }} will be used to send this transaction.</div>
<div class="alert alert-warning py-1">{{ confirmationText }}</div>
<div class="alert alert-warning py-1" [innerHTML]="confirmationText"></div>
</div>
</div>
<div class="form-group clearfix">
Expand Down
2 changes: 1 addition & 1 deletion StratisCore.UI/src/app/wallet/send/send.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class SendComponent implements OnInit, OnDestroy {
}

this.confirmationText = this.sidechainEnabled
? 'Please note that sending from a sidechain to the mainchain requires 240 confirmations.'
? "Amounts less than 50 Cirrus clear in 25 confirmations<br>Amounts between 50 and 1000 Cirrus clear in 80 confirmations<br>Amounts more than 1000 Cirrus clear in 500 confirmations"
: 'Please note that sending from the mainchain to a sidechain requires 500 confirmations.';
}

Expand Down

0 comments on commit 788fea2

Please sign in to comment.