Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arc0035 committed Apr 13, 2021
1 parent 16fac4a commit 0ed444d
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ contract Test {

```
pragma solidity >=0.4.24 <0.6.11;
import "./LibBytesMap.sol";
contract Test {
Expand All @@ -106,11 +105,16 @@ contract Test {
event Log(bytes key, uint256 index);
event Debug(uint256 index, bool can);
function f() public {
map.put(bytes("k1"),bytes("v1"));
map.put(bytes("k2"),bytes("v2"));
map.put(bytes("k3"),bytes("v3"));
string memory k1 = "k1";
string memory k2 = "k2";
string memory k3 = "k3";
string memory v1 = "v1";
string memory v2 = "v2";
string memory v3 = "v3";
map.put(bytes(k1),bytes(v1));
map.put(bytes(k2),bytes(v2));
map.put(bytes(k3),bytes(v3));
uint256 i = map.iterate_start();
Expand Down

0 comments on commit 0ed444d

Please sign in to comment.