mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi/bind/backends: adjust comment
This commit is contained in:
parent
6544403694
commit
6fb6d5c368
1 changed files with 3 additions and 1 deletions
|
|
@ -27,9 +27,11 @@ type SimulatedBackend struct {
|
||||||
|
|
||||||
// New creates a new binding backend using a simulated blockchain
|
// New creates a new binding backend using a simulated blockchain
|
||||||
// for testing purposes.
|
// for testing purposes.
|
||||||
|
//
|
||||||
// A simulated backend always uses chainID 1337.
|
// A simulated backend always uses chainID 1337.
|
||||||
//
|
//
|
||||||
// Deprecated: please use simulated.Backend instead
|
// Deprecated: please use simulated.Backend from package
|
||||||
|
// github.com/ethereum/go-ethereum/ethclient/simulated instead.
|
||||||
func NewSimulatedBackend(alloc core.GenesisAlloc, gasLimit uint64) SimulatedBackend {
|
func NewSimulatedBackend(alloc core.GenesisAlloc, gasLimit uint64) SimulatedBackend {
|
||||||
return SimulatedBackend{simulated.New(alloc, gasLimit)}
|
return SimulatedBackend{simulated.New(alloc, gasLimit)}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue