Merge pull request #506 from sublimator/uint-scraggles

Remove UInt#from_bn
This commit is contained in:
Chris Clark
2015-08-17 10:04:18 -07:00

View File

@@ -68,15 +68,6 @@ UInt.from_bytes = function(j) {
return (new this()).parse_bytes(j);
};
// Return a new UInt from j.
UInt.from_bn = function(j) {
if (j instanceof this) {
return j.clone();
}
return (new this()).parse_bn(j);
};
// Return a new UInt from j.
UInt.from_number = function(j) {
if (j instanceof this) {