From 99cba09a4ab22ea81f0ec856812daf0b80a8cb7d Mon Sep 17 00:00:00 2001 From: Nicholas Dudfield Date: Sun, 16 Aug 2015 21:31:46 +0700 Subject: [PATCH] Remove UInt#from_bn --- src/core/uint.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/core/uint.js b/src/core/uint.js index 54231202..e15e197f 100644 --- a/src/core/uint.js +++ b/src/core/uint.js @@ -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) {