@@ -18,15 +18,15 @@ public async ValueTask InitializeAsync()
1818 {
1919 MoneroWalletConfig config = new ( ) ;
2020 config . SetPrimaryAddress (
21- "9yEzCbcYdg6MqZ5AkEh8V3YCriyN1tvmtWEHdBEUHkF6D6kN1MMD2Kd2QVWoTY67aNHNYKMUP3xfteLS2QNavJxpJdx6mWj " ) ;
22- config . SetPrivateViewKey ( "1f4668e8c1979b4c7dae13dc149fd95cd7ff2883becffe160c21f9e02c821c08 " ) ;
21+ "9uZLyeSYy38fKTiWJWyfGp3M7mh5bh8TxWnpfYn2QnAH83V7CwYa8P4HaHXaKXpETG5JuNuq7mdkVSGyx7gfv5arDJCLhpD " ) ;
22+ config . SetPrivateViewKey ( "f8917a980fddca4bdcf1b45a6885de6dcd5d86ff86dd102039fed14933a74b0f " ) ;
2323 await CashCowWallet . CreateWallet ( config ) ;
2424 await MineAtLeastToHeight ( 71 ) ;
2525
2626 List < MoneroAccount > moneroAccounts = await CashCowWallet . GetAccounts ( true , false , null ) ;
2727 foreach ( MoneroAccount account in moneroAccounts )
2828 {
29- Console . WriteLine (
29+ TestContext . Current . SendDiagnosticMessage (
3030 $ "Wallet's account with index { account . AccountIndex } : total balance { account . Balance } , unlocked balance { account . UnlockedBalance } ") ;
3131 }
3232 }
@@ -45,12 +45,12 @@ private static async Task MineAtLeastToHeight(ulong targetHeight)
4545 if ( miningStatus . IsActive != true )
4646 {
4747 await DaemonRpc . StartMining (
48- "9yEzCbcYdg6MqZ5AkEh8V3YCriyN1tvmtWEHdBEUHkF6D6kN1MMD2Kd2QVWoTY67aNHNYKMUP3xfteLS2QNavJxpJdx6mWj " ,
48+ "9uZLyeSYy38fKTiWJWyfGp3M7mh5bh8TxWnpfYn2QnAH83V7CwYa8P4HaHXaKXpETG5JuNuq7mdkVSGyx7gfv5arDJCLhpD " ,
4949 1 ,
5050 false ,
5151 false
5252 ) ;
53- Console . WriteLine ( "Mining started." ) ;
53+ TestContext . Current . SendDiagnosticMessage ( "Mining started." ) ;
5454 }
5555
5656 ulong lastLoggedHeight = currentHeight ;
@@ -65,12 +65,12 @@ await DaemonRpc.StartMining(
6565 if ( height != lastLoggedHeight )
6666 {
6767 lastLoggedHeight = height ;
68- Console . WriteLine ( $ "Current height: { height } /{ targetHeight } ") ;
68+ TestContext . Current . SendDiagnosticMessage ( $ "Current height: { height } /{ targetHeight } ") ;
6969 }
7070
7171 await Task . Delay ( 1000 ) ;
7272 }
7373
74- Console . WriteLine ( $ "Mining to height { targetHeight } completed.") ;
74+ TestContext . Current . SendDiagnosticMessage ( $ "Mining to height { targetHeight } completed.") ;
7575 }
7676}
0 commit comments