(privateKey *ecdsa.PrivateKey, nonce *big.Int)
| 112 | } |
| 113 | |
| 114 | func newTransactor(privateKey *ecdsa.PrivateKey, nonce *big.Int) *bind.TransactOpts { |
| 115 | auth := bind.NewKeyedTransactor(privateKey) |
| 116 | if nonce.Cmp(big.NewInt(-1)) > 0 { |
| 117 | auth.Nonce = nonce |
| 118 | } |
| 119 | return auth |
| 120 | |
| 121 | } |
no test coverage detected