diff --git a/tx/doc.go b/tx/doc.go index 7b01b55..cda9ef9 100644 --- a/tx/doc.go +++ b/tx/doc.go @@ -83,7 +83,7 @@ // // // Insert a second transaction at some imaginary block height // // 321. -// b321 := &tx.Height: 321, Time: time.Now()} +// b321 := &tx.Block{Height: 321, Time: time.Now()} // r2, err := s.InsertTx(txB, b321) // if err != nil { // // handle error