You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
centrifuge-js expects Uint8Array for data in methods in Protobuf case. When passing non-Uint8Array data is skipped by serialization layer. I guess we can throw exceptions in such cases like we currently do in Python SDK.
For example, this is an incorrect RPC call in Protobuf protocol scenario:
centrifuge-js
expectsUint8Array
for data in methods in Protobuf case. When passing non-Uint8Array
data is skipped by serialization layer. I guess we can throw exceptions in such cases like we currently do in Python SDK.For example, this is an incorrect RPC call in Protobuf protocol scenario:
The correct one is:
Since the usage is incorrect - throwing exception seems right.
The text was updated successfully, but these errors were encountered: