Skip to content

Commit 2882de5

Browse files
committed
fixed conflicts in transaction branch
1 parent cc2dc0e commit 2882de5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/ain-ocean/src/api/response.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ mod tests {
128128
fn should_next_with_value() {
129129
let items: Vec<Item> = vec![Item::new("0", "a"), Item::new("1", "b")];
130130

131-
let next = ApiPagedResponse::next(items, Some("b")).page.next;
131+
let next = ApiPagedResponse::next(items, Some("b".to_string()))
132+
.page
133+
.next;
132134
assert_eq!(next, Some("b".into()));
133135
}
134136

lib/ain-ocean/src/api/transactions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ async fn get_transaction(
2727
Ok(Json(transactions))
2828
}
2929

30-
//get list of vout transaction, by passing id which contains txhash + vout_idx
3130
async fn get_vins(
3231
Query(query): Query<PaginationQuery>,
3332
) -> Result<Json<ApiPagedResponse<TransactionVin>>> {

0 commit comments

Comments
 (0)