Skip to content

Commit

Permalink
Merge pull request hyperledger-web3j#616 from clearcoin/master
Browse files Browse the repository at this point in the history
MAINNET not MAIN_NET
  • Loading branch information
conor10 authored Jul 5, 2018
2 parents 6710297 + 395e151 commit 2cb930a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/smart_contracts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ on transactions as per
being re-broadcast onto another chain, such as from Ropsten to Mainnet::

TransactionManager transactionManager = new RawTransactionManager(
web3j, credentials, ChainId.MAIN_NET);
web3j, credentials, ChainId.MAINNET);

In order to avoid having to change config or code to specify which chain you are working with,
web3j's default behaviour is to not specify chain ids on transactions to simplify working with the
Expand Down Expand Up @@ -343,7 +343,7 @@ specify the transaction receipt processor to use as follows::
// handle exception
}
TransactionManager transactionManager = new RawTransactionManager(
web3j, credentials, ChainId.MAIN_NET, transactionReceiptProcessor);
web3j, credentials, ChainId.MAINNET, transactionReceiptProcessor);


If you require further information, the
Expand Down

0 comments on commit 2cb930a

Please sign in to comment.