Skip to content

Commit 4526f81

Browse files
Update bridge.rs
1 parent eae2854 commit 4526f81

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/bridge.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ mod tests {
3131
}
3232

3333
fn sample_intent() -> TransferIntent {
34-
TransferIntent {
35-
amount_xrp_drops: 100,
36-
expiry_unix: 999_999_999,
37-
protocol_version: "v1",
38-
fee_drops: 1,
34+
TransferIntent {
35+
amount_xrp_drops: 100,
36+
expiry_unix: 999_999_999,
37+
protocol_version: "v1",
38+
fee_drops: 1,
39+
}
3940
}
40-
}
4141

4242
fn valid_proof() -> CompletionProof {
4343
CompletionProof {
4444
intent_id: test_intent_id(),
4545
receiver: Address("receiver".to_string()),
46-
claimed_amount: Amount 100,
46+
claimed_amount: 100,
4747
evidence_ref: EvidenceRef(b"evidence".to_vec()),
4848
timestamp: 1,
4949
metadata: None,
@@ -54,7 +54,7 @@ mod tests {
5454
CompletionProof {
5555
intent_id: test_intent_id(),
5656
receiver: Address("receiver".to_string()),
57-
claimed_amount: Amount 999,
57+
claimed_amount: 999,
5858
evidence_ref: EvidenceRef(b"evidence".to_vec()),
5959
timestamp: 1,
6060
metadata: None,

0 commit comments

Comments
 (0)