From e3ec835cc9c1bb89e3a0f3f6e5ca9a1f010127ac Mon Sep 17 00:00:00 2001 From: Nate Maninger Date: Fri, 12 Jul 2024 14:44:12 -0700 Subject: [PATCH] wallet: remove debug logging --- wallet/wallet.go | 3 --- wallet/wallet_test.go | 1 - 2 files changed, 4 deletions(-) diff --git a/wallet/wallet.go b/wallet/wallet.go index 4806bcf..4a8678a 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -3,7 +3,6 @@ package wallet import ( "encoding/json" "errors" - "log" "strconv" "time" @@ -315,7 +314,6 @@ func AppliedEvents(cs consensus.State, b types.Block, cu ChainUpdate, relevant f if relevant(fce.V2FileContract.HostOutput.Address) { element := sces[types.FileContractID(fce.ID).V2HostOutputID()] - log.Println("HOST", element.ID, fce.V2FileContract.HostOutput.Address) addEvent(element.ID, element.MaturityHeight, EventTypeV2ContractResolution, EventV2ContractResolution{ Resolution: types.V2FileContractResolution{ Parent: fce, @@ -328,7 +326,6 @@ func AppliedEvents(cs consensus.State, b types.Block, cu ChainUpdate, relevant f if relevant(fce.V2FileContract.RenterOutput.Address) { element := sces[types.FileContractID(fce.ID).V2RenterOutputID()] - log.Println("RENTER", element.ID, fce.V2FileContract.RenterOutput.Address) addEvent(element.ID, element.MaturityHeight, EventTypeV2ContractResolution, EventV2ContractResolution{ Resolution: types.V2FileContractResolution{ Parent: fce, diff --git a/wallet/wallet_test.go b/wallet/wallet_test.go index 38d5bd2..dcbba55 100644 --- a/wallet/wallet_test.go +++ b/wallet/wallet_test.go @@ -2959,7 +2959,6 @@ func TestEventTypes(t *testing.T) { for _, event := range events { if event.ID == id { - t.Log(id, eventType) if event.Type != eventType { t.Fatalf("expected %v event, got %v", eventType, event.Type) } else if event.MaturityHeight != maturityHeight {