File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
substrate/frame/revive/rpc/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ impl Client {
691
691
let transactions = if hydrated_transactions {
692
692
receipts
693
693
. into_iter ( )
694
- . map ( |( signed_tx, receipt) | TransactionInfo :: new ( receipt, signed_tx) . into ( ) )
694
+ . map ( |( signed_tx, receipt) | TransactionInfo :: new ( receipt, signed_tx) )
695
695
. collect :: < Vec < TransactionInfo > > ( )
696
696
. into ( )
697
697
} else {
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ impl ReceiptProvider for DBReceiptProvider {
166
166
}
167
167
168
168
async fn receipt_by_hash ( & self , transaction_hash : & H256 ) -> Option < ReceiptInfo > {
169
- let ( block_hash, transaction_index) = self . fetch_row ( & transaction_hash) . await ?;
169
+ let ( block_hash, transaction_index) = self . fetch_row ( transaction_hash) . await ?;
170
170
171
171
let block = self . block_provider . block_by_hash ( & block_hash) . await . ok ( ) ??;
172
172
let ( _, receipt) =
You can’t perform that action at this time.
0 commit comments