| 224 | } |
| 225 | |
| 226 | bytes importData(json_spirit::mObject const& _o) |
| 227 | { |
| 228 | bytes data; |
| 229 | if (_o.at("data").type() == json_spirit::str_type) |
| 230 | data = importByteArray(_o.at("data").get_str()); |
| 231 | else |
| 232 | for (auto const& j: _o.at("data").get_array()) |
| 233 | data.push_back(toByte(j)); |
| 234 | return data; |
| 235 | } |
| 236 | |
| 237 | void replaceLLLinState(json_spirit::mObject& _o) |
| 238 | { |
no test coverage detected