core/types: add DynamicFeeTx to TxData implementation list in docs (#23063)

pull/23065/head
Jeff Wentworth 3 years ago committed by GitHub
parent 87a11a87c2
commit 15fe3050a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/types/transaction.go

@ -67,7 +67,7 @@ func NewTx(inner TxData) *Transaction {
// TxData is the underlying data of a transaction. // TxData is the underlying data of a transaction.
// //
// This is implemented by LegacyTx and AccessListTx. // This is implemented by DynamicFeeTx, LegacyTx and AccessListTx.
type TxData interface { type TxData interface {
txType() byte // returns the type ID txType() byte // returns the type ID
copy() TxData // creates a deep copy and initializes all fields copy() TxData // creates a deep copy and initializes all fields

Loading…
Cancel
Save