go fmt.
This commit is contained in:
parent
454fc3904a
commit
c7200659d1
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ func (tx *msgTx) ReadFrom(r io.Reader) (int64, error) {
|
|||
func (tx *msgTx) WriteTo(w io.Writer) (int64, error) {
|
||||
// Write to a buffer and then copy to w so the total number of bytes
|
||||
// written can be returned to the caller. Writing to a to a
|
||||
// bytes.Buffer never fails except for OOM panics, so check and panic
|
||||
// bytes.Buffer never fails except for OOM panics, so check and panic
|
||||
// on any unexpected non-nil returned errors.
|
||||
buf := new(bytes.Buffer)
|
||||
if err := (*btcwire.MsgTx)(tx).Serialize(buf); err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue