Skip to content

Commit

Permalink
fixup after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkuo committed Dec 6, 2021
1 parent c95cd30 commit ba10c4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fastpay_core/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ where
self.communicate_transfers(
transfer.sender,
vec![certificate.clone()],
CommunicateAction::SynchronizeNextSequenceNumber(
transfer.sequence_number.increment()?,
CommunicateAction::SynchronizeNextSequenceNumber(
transfer.sequence_number.increment()?,
),
)
.await?;
Expand Down
3 changes: 1 addition & 2 deletions fastpay_core/src/unit_tests/authority_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ fn test_handle_transfer_order_unknown_sender() {
let object_id: ObjectID = get_object_id();
let recipient = Address::FastPay(dbg_addr(2));
let mut authority_state = init_state_with_object(sender, object_id);
let transfer_order =
init_transfer_order(unknown_address, &sender_key, recipient, object_id);
let transfer_order = init_transfer_order(unknown_address, &sender_key, recipient, object_id);

let unknown_sender_transfer = transfer_order.kind;
let unknown_sender_transfer_order = Order::new(unknown_sender_transfer, &unknown_key);
Expand Down

0 comments on commit ba10c4c

Please sign in to comment.