devnet url and Pubkey fix (#6)
This commit is contained in:
parent
637da6ae69
commit
893b8f661b
|
@ -265,7 +265,7 @@ function NewMultisigDialog({
|
|||
const { enqueueSnackbar } = useSnackbar();
|
||||
const [threshold, setThreshold] = useState(2);
|
||||
// @ts-ignore
|
||||
const zeroAddr = new PublicKey().toString();
|
||||
const zeroAddr = PublicKey.default.toString();
|
||||
const [participants, setParticipants] = useState([
|
||||
multisigClient.provider.wallet.publicKey.toString(),
|
||||
zeroAddr,
|
||||
|
@ -937,7 +937,7 @@ function SetOwnersListItemDetails({
|
|||
}) {
|
||||
const { multisigClient } = useWallet();
|
||||
// @ts-ignore
|
||||
const zeroAddr = new PublicKey().toString();
|
||||
const zeroAddr = PublicKey.default.toString();
|
||||
const [participants, setParticipants] = useState([
|
||||
multisigClient.provider.wallet.publicKey.toString(),
|
||||
zeroAddr,
|
||||
|
|
|
@ -60,7 +60,7 @@ export const networks: Networks = {
|
|||
devnet: {
|
||||
// Cluster.
|
||||
label: 'Devnet',
|
||||
url: 'https://devnet.solana.com',
|
||||
url: 'https://api.devnet.solana.com',
|
||||
explorerClusterSuffix: 'devnet',
|
||||
|
||||
srmFaucet: null,
|
||||
|
|
Loading…
Reference in New Issue