ethers-utils
Advanced tools
Comparing version
{ | ||
"name": "ethers-utils", | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"description": "Utilities for the Ethers Ethereum library.", | ||
@@ -5,0 +5,0 @@ "bugs": { |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
function defineProperty(object, name, value) { | ||
@@ -2,0 +4,0 @@ Object.defineProperty(object, name, { |
@@ -26,2 +26,6 @@ 'use strict'; | ||
return convert.arrayify(value); | ||
case 'bool': | ||
value = (value ? '0x01': '0x00'); | ||
if (isArray) { return convert.padZeros(value, 32); } | ||
return convert.arrayify(value); | ||
} | ||
@@ -28,0 +32,0 @@ |
35645
0.54%978
0.51%