changed icon

This commit is contained in:
Jincheng Lu 2025-11-28 21:24:26 +08:00
parent 13ba689069
commit bca2b75ed4
3 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ export default function ButtonAppBar() {
};
const register = async () => {
const sig = await signMessage("test message",auth.providerWithInfo.provider, auth.accounts[0]);
const sig = await signMessage("H8zfXnSclIQ/wLy7GSt7GNqa1utAi4Uvr7Dg3p9vdHQ=",auth.providerWithInfo.provider, auth.accounts[0]);
try {
const res_string = sig;
} catch (error) {

View File

@ -26,7 +26,7 @@ function NodeItem({node}: {node: Node}) {
const [submittingRating, setSubmittingRating] = React.useState(false);
const connect = async ({ip}: {ip: string}) => {
const publicKey = await getPublicKey(auth.providerWithInfo.provider, auth.accounts[0]);
const sig = await signMessage("test message",auth.providerWithInfo.provider, auth.accounts[0]);
const sig = await signMessage("H8zfXnSclIQ/wLy7GSt7GNqa1utAi4Uvr7Dg3p9vdHQ=",auth.providerWithInfo.provider, auth.accounts[0]);
try {
const res_string = publicKey + '\n' + sig;
let response = await axios.post('http://' + ip + ":8080/connect", res_string);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB