-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
…pp-windows
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/dist/util.js b/dist/util.js | ||
index b9d1a7cca20c9da0d5d72010868dd84a58ea7442..6133b38ff6d584e3682eab627f9404d3e157c162 100644 | ||
--- a/dist/util.js | ||
+++ b/dist/util.js | ||
@@ -246,6 +246,9 @@ exports.safelyExecuteWithTimeout = safelyExecuteWithTimeout; | ||
* @returns A 0x-prefixed hexidecimal checksummed address, if address is valid. Otherwise original input 0x-prefixe, if address is valid. Otherwise original input 0x-prefixed. | ||
*/ | ||
function toChecksumHexAddress(address) { | ||
+ if (address === undefined || address === null) { | ||
+ return address; | ||
+ } | ||
const hexPrefixed = (0, utils_1.add0x)(address); | ||
if (!(0, utils_1.isHexString)(hexPrefixed)) { | ||
// Version 5.1 of ethereumjs-utils would have returned '0xY' for input 'y' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/lib/index.js b/lib/index.js | ||
index b7a810396d6c0dad839fc08f1e192f5df134879f..93cb54be0f33c77e9f801f1c23330eb0fc65bb38 100644 | ||
--- a/lib/index.js | ||
+++ b/lib/index.js | ||
@@ -4,7 +4,7 @@ exports.Optional = exports.Type = exports.AssertWeak = exports.Assert = exports. | ||
const typebox_1 = require("@sinclair/typebox"); | ||
Object.defineProperty(exports, "Optional", { enumerable: true, get: function () { return typebox_1.Optional; } }); | ||
const errors_1 = require("@sinclair/typebox/errors"); | ||
-const ts_mixer_1 = require("ts-mixer"); | ||
+const ts_mixer_1 = require("ts-mixer/dist/cjs/index"); | ||
const custom_types_1 = require("./custom-types"); | ||
const errors_2 = require("./errors"); | ||
const utils_1 = require("./utils"); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.