diff --git a/react/src/components/dashboard/receiveCoin/receiveCoin.render.js b/react/src/components/dashboard/receiveCoin/receiveCoin.render.js
index 52b45a2..5f19409 100644
--- a/react/src/components/dashboard/receiveCoin/receiveCoin.render.js
+++ b/react/src/components/dashboard/receiveCoin/receiveCoin.render.js
@@ -3,8 +3,6 @@ import { translate } from '../../../translate/translate';
import QRModal from '../qrModal/qrModal';
import InvoiceModal from '../invoiceModal/invoiceModal';
-// TODO: zaddr match length > 64 chars
-
export const AddressActionsNonBasiliskModeRender = function(address, type) {
return (
@@ -48,7 +46,7 @@ export const AddressItemRender = function(address, type) {
|
{ type === 'public' ? address.address : `${address.address.substring(0, 34)}...` }
{ !address.canspend &&
- address.address.substring(0, 2) !== 'zc' &&
+ type === 'public' &&
@@ -57,7 +55,7 @@ export const AddressItemRender = function(address, type) {
|
{ address.amount }
{ !address.canspend &&
- address.address.substring(0, 2) !== 'zc' &&
+ type === 'public' &&
(0)
}
|
diff --git a/react/src/components/dashboard/sendCoin/sendCoin.js b/react/src/components/dashboard/sendCoin/sendCoin.js
index 0a85b23..8dc8db2 100644
--- a/react/src/components/dashboard/sendCoin/sendCoin.js
+++ b/react/src/components/dashboard/sendCoin/sendCoin.js
@@ -210,8 +210,8 @@ class SendCoin extends React.Component {
if (this.props.ActiveCoin.addresses &&
this.props.ActiveCoin.addresses[type] &&
this.props.ActiveCoin.addresses[type].length) {
- this.props.ActiveCoin.addresses[type].map((address) => {
- if (address.amount > 0) {
+ this.props.ActiveCoin.addresses[type].map((address) => {
+ if (address.amount > 0 && (type !== 'public' || (address.canspend && type === 'public'))) {
_items.push(