Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Add caret operator to contract example #345

Merged
merged 1 commit into from
Apr 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add caret operator to contract example
  • Loading branch information
Luca Zeug committed Jan 31, 2017
commit 37c8b6f9140c4ae759305bee835b6426f04a4034
2 changes: 1 addition & 1 deletion app/client/lib/helpers/helperFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Helpers.getDefaultContractExample = function(withoutPragma) {
else {
solcVersion = '0.4.6';
}
return 'pragma solidity ' + solcVersion + ';\n\n' + source;
return 'pragma solidity ^' + solcVersion + ';\n\n' + source;
}
}

Expand Down