aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-10-20 19:41:50 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-10-20 21:23:37 +0800
commit81e9c679c4d2d10a2ac2a7d82e25d5e9691c2b45 (patch)
tree2ba0ff0ecada1bee77bc9f92ebecf17774f2af42 /test/RPCSession.h
parentbdd2858bfd6bb5b880797a5984e212c4b63d9e04 (diff)
downloaddexon-solidity-81e9c679c4d2d10a2ac2a7d82e25d5e9691c2b45.tar.gz
dexon-solidity-81e9c679c4d2d10a2ac2a7d82e25d5e9691c2b45.tar.zst
dexon-solidity-81e9c679c4d2d10a2ac2a7d82e25d5e9691c2b45.zip
Add helper RPCSession::createAccount
Diffstat (limited to 'test/RPCSession.h')
-rw-r--r--test/RPCSession.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/RPCSession.h b/test/RPCSession.h
index eae6a09c..63f1dd21 100644
--- a/test/RPCSession.h
+++ b/test/RPCSession.h
@@ -121,6 +121,7 @@ public:
Json::Value rpcCall(std::string const& _methodName, std::vector<std::string> const& _args = std::vector<std::string>(), bool _canFail = false);
std::string const& account(size_t _id) const { return m_accounts.at(_id); }
+ std::string const& accountCreate();
std::string const& accountCreateIfNotExists(size_t _id);
private: