chore: replace TransactionSigned struct inits with new functions (#12779)

This commit is contained in:
Tien Nguyen
2024-11-22 21:28:59 +07:00
committed by GitHub
parent 64728e0856
commit f2860006f7
8 changed files with 63 additions and 81 deletions

View File

@ -32,7 +32,7 @@ impl BlobTransaction {
hash,
))),
transaction => {
let tx = TransactionSigned { transaction, signature, hash: hash.into() };
let tx = TransactionSigned::new(transaction, signature, hash);
Err((tx, sidecar))
}
}