We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c967d commit 52e0592Copy full SHA for 52e0592
packages/js-dash-sdk/src/SDK/Client/Platform/broadcastStateTransition.ts
@@ -89,7 +89,9 @@ export default async function broadcastStateTransition(
89
// instead of passing it as GrpcError constructor argument
90
// Otherwise it will be converted to grpc-js metadata
91
// Which is not compatible with web
92
- grpcError.metadata = error.data;
+ grpcError.metadata = {
93
+ 'dash-serialized-consensus-error-bin': error.data,
94
+ };
95
96
let cause = await createGrpcTransportError(grpcError);
97
0 commit comments