mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-06 10:42:46 +01:00
Changing &vec[0] to vec.data(), what 9804 missed
This commit is contained in:
@@ -459,7 +459,7 @@ UniValue signmessagewithprivkey(const JSONRPCRequest& request)
|
||||
if (!key.SignCompact(ss.GetHash(), vchSig))
|
||||
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Sign failed");
|
||||
|
||||
return EncodeBase64(&vchSig[0], vchSig.size());
|
||||
return EncodeBase64(vchSig.data(), vchSig.size());
|
||||
}
|
||||
|
||||
UniValue setmocktime(const JSONRPCRequest& request)
|
||||
|
||||
Reference in New Issue
Block a user