feat(hardano): implement search for the immutabledb reader (#372)

This commit is contained in:
Alex Pozhylenkov 2024-01-04 13:46:19 +02:00 committed by GitHub
parent 5d02b2c31d
commit 50af4e0a75
3 changed files with 493 additions and 2 deletions

View file

@ -616,7 +616,11 @@ impl BuiltTransaction {
.try_into()
.map_err(|_| TxBuilderError::MalformedKey)?;
let signature: [u8; ed25519::Signature::SIZE] = private_key.sign(self.tx_hash.0).as_ref().try_into().unwrap();
let signature: [u8; ed25519::Signature::SIZE] = private_key
.sign(self.tx_hash.0)
.as_ref()
.try_into()
.unwrap();
match self.era {
BuilderEra::Babbage => {