btcsuite / btcwallet

A secure bitcoin wallet daemon written in Go (golang)
ISC License
1.15k stars 590 forks source link

wallet: downgrade `spew` log to debug and limit its size #905

Closed yyforyongyu closed 10 months ago

yyforyongyu commented 10 months ago

This commit removes using spew on production as the tx log can be extremely large. For instance, when running this build the CI crashed because of this test, that also caused my local terminal to crash, because we are printing a very large invalid tx.