Skip to content

Commit

Permalink
wallet: remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Jul 12, 2024
1 parent 042d67e commit e3ec835
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package wallet
import (
"encoding/json"
"errors"
"log"
"strconv"
"time"

Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down
1 change: 0 additions & 1 deletion wallet/wallet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e3ec835

Please sign in to comment.