Skip to content

Commit

Permalink
fix getblsctviewkey rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
alex v committed Aug 9, 2024
1 parent 3e938c7 commit dba87a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpc/backup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ RPCHelpMan getblsctviewkey()
const CWallet& wallet = *pwallet;
const blsct::KeyMan& blsct_km = EnsureConstBlsctKeyMan(wallet);

auto seed = blsct_km.GetMasterSeedKey();
auto seed = blsct_km.GetPrivateViewKey();

return seed.GetScalar().GetString();
},
Expand Down

0 comments on commit dba87a9

Please sign in to comment.