Skip to content

Commit 4669fce

Browse files
spkjpfaustbrian
authored andcommitted
fix: cast type to int (#25)
1 parent f6154fd commit 4669fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/arkecosystem/crypto/transactions/Transaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public String toJson() {
220220
map.put("id", this.id);
221221
map.put("timestamp", this.timestamp);
222222
map.put("expiration", this.expiration);
223-
map.put("type", this.type);
223+
map.put("type", this.type.getValue());
224224
map.put("amount", this.amount);
225225
map.put("fee", this.fee);
226226
map.put("recipientId", this.recipientId);

0 commit comments

Comments
 (0)