提交 da156412 编写于 作者: D Daniel Larimer

Merge branch 'master' into exchange

......@@ -639,7 +639,7 @@ int main( int argc, char** argv ) {
fc::read_file_contents(wastPath, wast);
vector<uint8_t> wasm;
const string binary_wasm_header = "\x00\x61\x73\x6d";
const string binary_wasm_header("\x00\x61\x73\x6d", 4);
if(wast.compare(0, 4, binary_wasm_header) == 0) {
std::cout << localized("Using already assembled WASM...") << std::endl;
wasm = vector<uint8_t>(wast.begin(), wast.end());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册