mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-28 23:12:32 +03:00
chore(node_common): remove the powergate file
This commit is contained in:
parent
2b7d5ecfb2
commit
3934532c17
@ -1,27 +0,0 @@
|
||||
import * as Constants from "~/node_common/constants";
|
||||
|
||||
/*
|
||||
import { createPow } from "@textile/powergate-client";
|
||||
|
||||
// NOTE(jim):
|
||||
// https://github.com/textileio/js-powergate-client
|
||||
const Powergate = createPow({ host: Constants.POWERGATE_HOST });
|
||||
|
||||
export const createNewToken = async () => {
|
||||
const FFS = await Powergate.ffs.create();
|
||||
return FFS.token ? FFS.token : null;
|
||||
};
|
||||
|
||||
export const get = (user) => {
|
||||
Powergate.setToken(user.data.tokens.pg);
|
||||
return Powergate;
|
||||
};
|
||||
*/
|
||||
|
||||
export const createNewToken = async () => {
|
||||
return null;
|
||||
};
|
||||
|
||||
export const get = (user) => {
|
||||
return {};
|
||||
};
|
Loading…
Reference in New Issue
Block a user