LibCrypto+LibJS: Remove {Signed,Unsigned}BigInteger to_base_deprecated

Use `to_base` instead.
This commit is contained in:
devgianlu 2025-04-21 12:13:50 +02:00 committed by Jelle Raaijmakers
commit a019efb24b
Notes: github-actions[bot] 2025-04-28 10:07:28 +00:00
8 changed files with 4 additions and 16 deletions

View file

@ -27,7 +27,7 @@ public:
Crypto::SignedBigInteger const& big_integer() const { return m_big_integer; }
ErrorOr<String> to_string() const;
ByteString to_byte_string() const { return ByteString::formatted("{}n", m_big_integer.to_base_deprecated(10)); }
ByteString to_byte_string() const { return ByteString::formatted("{}n", MUST(m_big_integer.to_base(10))); }
private:
explicit BigInt(Crypto::SignedBigInteger);