@dashevo/dapi-client 0.21.0-dev.10 → 0.21.0-dev.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -110,7 +110,7 @@ function createGrpcTransportError(grpcError, dapiAddress) {
|
|
|
110
110
|
|
|
111
111
|
// DPP consensus errors
|
|
112
112
|
if (code >= 1000 && code < 5000) {
|
|
113
|
-
const consensusError = createConsensusError(code, data.arguments);
|
|
113
|
+
const consensusError = createConsensusError(code, data.arguments || []);
|
|
114
114
|
|
|
115
115
|
delete data.arguments;
|
|
116
116
|
|