Skip to content

Commit

Permalink
- ATN 2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
WillRogerJones committed Mar 15, 2018
1 parent b99a52a commit 1db48d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ar.hrl
@@ -1,9 +1,9 @@
%%% A collection of record structures used throughout the Arweave server.

%% How should nodes on the network identify themselves?
-define(NETWORK_NAME, "arweave.ATN.1").
-define(NETWORK_NAME, "arweave.ATN.2").
%% What is the current version/release number (should be an integer).
-define(CLIENT_VERSION, 1).
-define(CLIENT_VERSION, 2).

%% Should ar:report_console/1 /actually/ report to the console?
%-define(SILENT, true).
Expand Down
2 changes: 1 addition & 1 deletion src/ar_join.erl
Expand Up @@ -60,7 +60,7 @@ get_block_and_trail(Peers, NewB, BehindCurrent, HashList) ->
ar_storage:write_block(B),
ar_storage:write_block(R)
end,
PreviousBlock = ar_node:get_block(Peers, ar_util:get_previous_block_hash(NewB, HashList)),
PreviousBlock = ar_node:get_block(Peers, NewB#block.previous_block),
get_block_and_trail(Peers, PreviousBlock, BehindCurrent-1, HashList).

%% @doc Fills node to capacity based on weave storage limit.
Expand Down

0 comments on commit 1db48d5

Please sign in to comment.