diff --git a/integration_tests/src/lib.rs b/integration_tests/src/lib.rs index 2ddfb9c..a2c10c5 100644 --- a/integration_tests/src/lib.rs +++ b/integration_tests/src/lib.rs @@ -120,7 +120,7 @@ pub async fn test_success(wrapped_node_core: Arc>) { let guard = wrapped_node_core.lock().await; let _res = guard - .send_public_native_token_transfer(acc_sender, acc_receiver, 100) + .send_public_native_token_transfer(acc_sender, 0, acc_receiver, 100) .await .unwrap(); @@ -157,7 +157,7 @@ pub async fn test_success_move_to_another_account(wrapped_node_core: Arc>) { let guard = wrapped_node_core.lock().await; let _res = guard - .send_public_native_token_transfer(acc_sender, acc_receiver, 100000) + .send_public_native_token_transfer(acc_sender, 0, acc_receiver, 100000) .await .unwrap(); diff --git a/node_core/src/lib.rs b/node_core/src/lib.rs index 190869c..f613dbb 100644 --- a/node_core/src/lib.rs +++ b/node_core/src/lib.rs @@ -947,8 +947,6 @@ impl NodeCore { // Ok(self.sequencer_client.send_tx(tx, tx_roots).await?) // } - // ToDo: Currently untested due to need for end-to-end integration tests. - // Add integration tests to cover this functionality pub async fn send_public_native_token_transfer( &self, from: AccountAddress,