Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable decode when transaction is send with memo #3597

Merged
merged 9 commits into from
Jul 5, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
<button
*ngIf="isEvmContract || (!isEvmContract && transaction?.memo)"
class="button body-04 {{
!isContractVerified || isCreateContract ? 'text--gray-7 pe-none' : ''
(!isContractVerified || isCreateContract) && isEvmContract ? 'text--gray-7 pe-none' : ''
}} active-gradient"
(click)="changeType(inputDataType.DECODED)"
[class.active-gradient]="typeInput === inputDataType.DECODED"
[disabled]="!isContractVerified || isCreateContract">
[disabled]="(!isContractVerified || isCreateContract) && isEvmContract">
<span>{{ inputDataType.DECODED }}</span>
</button>
<button
Expand Down