core/types: copy tx recipient address (#23376)
This resolves a long-standing TODO. The point of copying the address is
to ensure that all data referenced by types.Transaction is independent of the
data passed into the constructor.
Co-authored-by:
Felix Lange <fjl@twurst.com>
Showing
- core/types/access_list_tx.go 1 addition, 2 deletionscore/types/access_list_tx.go
- core/types/dynamic_fee_tx.go 1 addition, 2 deletionscore/types/dynamic_fee_tx.go
- core/types/legacy_tx.go 1 addition, 1 deletioncore/types/legacy_tx.go
- core/types/transaction.go 10 additions, 7 deletionscore/types/transaction.go
Loading
Please register or sign in to comment