remove getSync from channel creation success

This commit is contained in:
Akinwale Ariwodola 2019-10-17 13:57:22 +01:00
parent 5d38da2d46
commit 3ddd0b5b50

View file

@ -448,7 +448,6 @@ export default class ChannelCreator extends React.PureComponent {
showCreateChannel: false, showCreateChannel: false,
}); });
logPublish(channelClaim);
if (onChannelChange) { if (onChannelChange) {
onChannelChange(channelName); onChannelChange(channelName);
} }
@ -458,8 +457,7 @@ export default class ChannelCreator extends React.PureComponent {
notify({ message: 'The channel was successfully created.' }); notify({ message: 'The channel was successfully created.' });
this.showChannelList(); this.showChannelList();
// sync wallet logPublish(channelClaim);
NativeModules.UtilityModule.getSecureValue(Constants.KEY_WALLET_PASSWORD).then(password => getSync(password));
}; };
const failure = () => { const failure = () => {