Changing &vec[0] to vec.data(), what 9804 missed

This commit is contained in:
MeshCollider
2017-07-11 21:37:53 +12:00
parent d81dccf191
commit 592404f03f
15 changed files with 48 additions and 49 deletions

View File

@@ -605,7 +605,7 @@ UniValue signmessage(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 getreceivedbyaddress(const JSONRPCRequest& request)