Skip to content

Commit

Permalink
fix(BUX-698): registering xpub through admin console #891
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmkowalski authored Apr 5, 2024
2 parents 1a1e977 + d535fbf commit bbcd0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/admin/register-xpub.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const AdminRegisterXPub = () => {
setLoading(true);
try {
const xPubHD = bsv.HDPublicKey.fromString(newXPub); // will throw on error
spvWalletAdminClient.RegisterXpub(newXPub);
spvWalletAdminClient.AdminNewXpub(newXPub);
alert("XPub added");
logger.info("XPub added")
setNewXPub("");
Expand Down

0 comments on commit bbcd0b4

Please sign in to comment.