Revert "bug fix" (actually a bug) from #2655

In a2b019f82 it was claimed that losing the input string without alloc
is a bug. It is not, because allowing no-alloc is desired and there's
no way to have the input string otherwise so we just accept it'll be
missing and modify the messages accordingly. The commit that forced
alloc was also horribly misleading since it kept the `alloc` feature but
it makes this one easier.

Note that input string is still present by default in all configurations
except for no-alloc.
This commit is contained in:
Martin Habovstiak 2024-06-30 09:40:37 +02:00
parent d36141b5a7
commit 7f024c333e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ std = ["alloc", "internals/std"]
alloc = ["internals/alloc"]
[dependencies]
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
internals = { package = "bitcoin-internals", version = "0.3.0" }
serde = { version = "1.0.103", default-features = false, features = ["derive"], optional = true }