Remove UInt#from_bn

This commit is contained in:
Nicholas Dudfield
2015-08-16 21:31:46 +07:00
parent f077a563c4
commit 99cba09a4a

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) {