mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 02:25:52 +00:00
fix bug
This commit is contained in:
@@ -431,7 +431,7 @@ WasmHostFunctionsImpl::updateData(Slice const& data)
|
||||
return Unexpected(HostFunctionError::DATA_FIELD_TOO_LARGE);
|
||||
}
|
||||
data_ = Bytes(data.begin(), data.end());
|
||||
return data_.size();
|
||||
return data_->size();
|
||||
}
|
||||
|
||||
Expected<int32_t, HostFunctionError>
|
||||
|
||||
Reference in New Issue
Block a user