diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-01-23 17:25:12 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-01-23 17:25:39 +0100 |
| commit | 6403c6c835a3302a6ee575576be93e4104a39685 (patch) | |
| tree | eeca53e065947846648d9373f240d593c0c0ecfc /src/rpcmisc.cpp | |
| parent | build: fix typo in configure help message (diff) | |
| parent | Remove redundant .c_str()s (diff) | |
| download | discoin-6403c6c835a3302a6ee575576be93e4104a39685.tar.xz discoin-6403c6c835a3302a6ee575576be93e4104a39685.zip | |
Merge pull request #3549
7d9d134 Remove redundant .c_str()s (Wladimir J. van der Laan)
b77dfdc Typesafe strprintf/error/LogPrint functions (Wladimir J. van der Laan)
Diffstat (limited to 'src/rpcmisc.cpp')
| -rw-r--r-- | src/rpcmisc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp index f8a7d07fc..1d3237dfc 100644 --- a/src/rpcmisc.cpp +++ b/src/rpcmisc.cpp @@ -199,11 +199,11 @@ CScript _createmultisig(const Array& params) CKeyID keyID; if (!address.GetKeyID(keyID)) throw runtime_error( - strprintf("%s does not refer to a key",ks.c_str())); + strprintf("%s does not refer to a key",ks)); CPubKey vchPubKey; if (!pwalletMain->GetPubKey(keyID, vchPubKey)) throw runtime_error( - strprintf("no full public key for address %s",ks.c_str())); + strprintf("no full public key for address %s",ks)); if (!vchPubKey.IsFullyValid()) throw runtime_error(" Invalid public key: "+ks); pubkeys[i] = vchPubKey; |