Commit 95f6b3d8 authored by roadscape's avatar roadscape Committed by / /\ / /\/
Browse files

Remove dsteem

parent 979a6736
......@@ -4,9 +4,6 @@ import { PrivateKey } from '@steemit/steem-js/lib/auth/ecc';
import * as communityActions from './CommunityReducer';
import * as transactionActions from './TransactionReducer';
import { wait } from './MarketSaga';
import * as dsteem from 'dsteem';
const client = new dsteem.Client('https://api.steemit.com');
const activeKeySelector = state => {
return state.user.getIn(['pub_keys_used']).active;
......@@ -125,10 +122,6 @@ export function* createCommunityAccount(createCommunityAction) {
communityOwnerPosting
);
const key = dsteem.PrivateKey.fromLogin(
communityOwnerName,
communityOwnerWifPassword
);
const setRolePayload = {
required_auths: [],
required_posting_auths: [communityOwnerName],
......@@ -157,9 +150,6 @@ export function* createCommunityAccount(createCommunityAction) {
]),
};
// Dsteem.
yield call(client, client.broadcast.json(setRolePayload, key));
// SteemJs.
yield broadcast.sendAsync(
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment