Skip to content

Commit

Permalink
fix: rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrizsabin committed Sep 23, 2024
1 parent 6fb3772 commit 214f4db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/sui/intent_v1/sources/main.move
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ module intents_v1::main {
/// - `conn_sn`: Connection serial number as a u128.
/// - `msg`: Vector of bytes representing the message.
/// - `ctx`: Mutable reference to the TxContext.
entry fun recv_message<T>(
entry fun receive_message<T>(
self: &mut Storage,
srcNetwork: String,
conn_sn: u128,
Expand Down Expand Up @@ -626,7 +626,7 @@ module intents_v1::main_tests {

let msg = order_message::new(1, order_fill::encode(&fill));

main::recv_message<USDC>(
main::receive_message<USDC>(
&mut storage,
string::utf8(b"eth"),
1,
Expand Down Expand Up @@ -688,7 +688,7 @@ module intents_v1::main_tests {

let msg = order_message::new(1, order_fill::encode(&fill));

main::recv_message<USDC>(
main::receive_message<USDC>(
&mut storage,
string::utf8(b"eth"),
1,
Expand All @@ -697,7 +697,7 @@ module intents_v1::main_tests {
);

// Attempt to process the same fill again, should fail
main::recv_message<USDC>(
main::receive_message<USDC>(
&mut storage,
string::utf8(b"eth"),
2,
Expand Down

0 comments on commit 214f4db

Please sign in to comment.