mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
ERC721 review comments
Signed-off-by: renjithpta <renjithkn@gmail.com>
This commit is contained in:
parent
b20ad9572b
commit
808fe1f512
2 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue