synapsecns/sanguine

View on GitHub
ethergo/util/copy.go

Summary

Maintainability
A
1 hr
Test Coverage

Function CopyTX has 62 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func CopyTX(unsignedTx *types.Transaction, options ...CopyOption) (*types.Transaction, error) {
    // tx is immutable except within the confines of type. Here we manually copy over the inner values

    // these need to be overwritten, but copied over anyway for parity
    // the v paramater will be modified by the signer if converting from a dynamic tx to a legacy tx
Severity: Minor
Found in ethergo/util/copy.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status