Skip to content

Commit

Permalink
feat: modify attestor group public key fetching endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Apr 3, 2024
1 parent 1aac9da commit 0357f3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/hooks/use-proof-of-reserve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useQuery } from 'react-query';
import { customShiftValue } from '@common/utilities';
import { BitcoinNetwork } from '@models/bitcoin-network';
import { BitcoinTransaction, BitcoinTransactionVectorOutput } from '@models/bitcoin-transaction';
import { ethereumSepolia } from '@models/ethereum-network';
import { ethereumArbSepolia } from '@models/ethereum-network';
import { RawVault } from '@models/vault';
import { hex } from '@scure/base';
import { p2tr, p2tr_ns, taprootTweakPubkey } from '@scure/btc-signer';
Expand Down Expand Up @@ -149,7 +149,7 @@ export function useProofOfReserve(): UseProofOfReserveReturnType {
);

// Get the Attestor Public Key from the Attestor Group
const attestorPublicKey = await getAttestorGroupPublicKey(ethereumSepolia);
const attestorPublicKey = await getAttestorGroupPublicKey(ethereumArbSepolia);

// Create two MultiSig Transactions, because the User and Attestor can sign in any order
// Create the MultiSig Transaction A
Expand Down
4 changes: 2 additions & 2 deletions src/shared/models/ethereum-network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ const ethereumGoerli: EthereumNetwork = {
defaultNodeURL: 'https://ethereum-goerli.publicnode.com',
};

export const ethereumSepolia: EthereumNetwork = {
const ethereumSepolia: EthereumNetwork = {
name: 'Sepolia',
displayName: 'Sepolia',
id: EthereumNetworkID.Sepolia,
defaultNodeURL: 'https://ethereum-sepolia.publicnode.com/',
};

const ethereumArbSepolia: EthereumNetwork = {
export const ethereumArbSepolia: EthereumNetwork = {
name: 'ArbSepolia',
displayName: 'Arbitrum Sepolia',
id: EthereumNetworkID.ArbSepolia,
Expand Down

0 comments on commit 0357f3e

Please sign in to comment.