Skip to content

Commit

Permalink
Merge branch 'feat/storage-message' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
camewell071 committed Jan 15, 2024
2 parents 1a4f90f + 34059a5 commit 060a151
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ConnectModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const ConnectModal = React.memo(({ isShow, onHide }: IProps)=> {
await signMessage(type);
dispatch(requestReload())
onHide()
toast.error("Successfully.")
toast.success("Successfully.")
} catch (error) {
const { message } = getError(error);
toast.error(message)
Expand Down
7 changes: 6 additions & 1 deletion src/services/whitelist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ const verifySignature = async (params: {
signature: string,
pubKey: string,
}) => {
const res = (await apiClient.post(`/bvm/verify-btc-address`, params)) as any;
const res = (await apiClient.post(`/bvm/verify-btc-address`, {
address: params.address,
message: params.message,
signature: params.signature,
pub_key: params.pubKey,
})) as any;
return res
}

Expand Down

0 comments on commit 060a151

Please sign in to comment.