ERC721 review comments

Signed-off-by: renjithpta <renjithkn@gmail.com>
This commit is contained in:
renjithpta 2022-04-01 19:11:03 +05:30
parent b20ad9572b
commit 808fe1f512
2 changed files with 1 additions and 3 deletions

View file

@ -113,7 +113,6 @@ public final class Approval {
final JSONObject json = new JSONObject(data);
final Approval approver = new Approval(json.getString("owner"), json.getString("operator"),
new Boolean(json.getBoolean("approved")));
return approver;
}

View file

@ -7,7 +7,6 @@ import static java.nio.charset.StandardCharsets.UTF_8;
import org.hyperledger.fabric.contract.annotation.DataType;
import org.hyperledger.fabric.contract.annotation.Property;
import com.owlike.genson.Genson;
import com.owlike.genson.annotation.JsonProperty;
@ -34,7 +33,7 @@ public final class Transfer {
* @param tokenId
*/
public Transfer(@JsonProperty("fom") final String from, @JsonProperty("to") final String to,
public Transfer(@JsonProperty("from") final String from, @JsonProperty("to") final String to,
@JsonProperty("tokenId") final String tokenId) {
super();
this.from = from;