mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 15:45:48 +00:00
Set FullyCanoncialSig flag and fix integration tests
This commit is contained in:
@@ -83,8 +83,12 @@ function loadSchemas() {
|
||||
}
|
||||
|
||||
function formatSchemaError(error) {
|
||||
return error.field + ' ' + error.message
|
||||
+ (error.value ? ' (' + JSON.stringify(error.value) + ')' : '');
|
||||
try {
|
||||
return error.field + ' ' + error.message
|
||||
+ (error.value ? ' (' + JSON.stringify(error.value) + ')' : '');
|
||||
} catch (err) {
|
||||
return error.field + ' ' + error.message;
|
||||
}
|
||||
}
|
||||
|
||||
function formatSchemaErrors(errors) {
|
||||
|
||||
Reference in New Issue
Block a user