diff options
| author | MeshCollider <[email protected]> | 2017-07-11 21:37:53 +1200 |
|---|---|---|
| committer | MeshCollider <[email protected]> | 2017-09-08 10:36:26 +1200 |
| commit | 592404f03f2b734351d734f0c9ca1fdce997321b (patch) | |
| tree | 463d2c31825679c76f11445366b6736702b2824c /src/rpc/misc.cpp | |
| parent | Merge #10777: [tests] Avoid redundant assignments. Remove unused variables (diff) | |
| download | discoin-592404f03f2b734351d734f0c9ca1fdce997321b.tar.xz discoin-592404f03f2b734351d734f0c9ca1fdce997321b.zip | |
Changing &vec[0] to vec.data(), what 9804 missed
Diffstat (limited to 'src/rpc/misc.cpp')
| -rw-r--r-- | src/rpc/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index a6af24f7e..7d7ce6b3b 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -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) |