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

This commit is contained in:
Jeff Wentworth 2021-06-18 02:54:37 +09:00 committed by GitHub
parent 87a11a87c2
commit 15fe3050a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,7 +67,7 @@ func NewTx(inner TxData) *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 {
txType() byte // returns the type ID
copy() TxData // creates a deep copy and initializes all fields