|
|
@ -72,6 +72,7 @@ class ClaimInterestModal extends React.Component { |
|
|
|
} |
|
|
|
|
|
|
|
claimInterest(address, amount) { |
|
|
|
if (this.props.ActiveCoin.coin === 'KMD') { |
|
|
|
sendToAddressPromise( |
|
|
|
this.props.ActiveCoin.coin, |
|
|
|
this.state.transactionsList[0].address, |
|
|
@ -98,6 +99,7 @@ class ClaimInterestModal extends React.Component { |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
checkTransactionsListLength() { |
|
|
|
if (this.state.transactionsList && |
|
|
@ -140,7 +142,11 @@ class ClaimInterestModal extends React.Component { |
|
|
|
} |
|
|
|
|
|
|
|
render() { |
|
|
|
if (coin === 'KMD') { |
|
|
|
return ClaimInterestModalRender.call(this); |
|
|
|
} else { |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|