diff --git a/lib/algorand.transaction.pay.ts b/lib/algorand.transaction.pay.ts index 28a8861..a0e8885 100644 --- a/lib/algorand.transaction.pay.ts +++ b/lib/algorand.transaction.pay.ts @@ -9,7 +9,7 @@ export class PayTransaction { fv: number lv: number note?: Uint8Array - gen: string + gen?: string gh: Uint8Array // encode the transaction diff --git a/lib/schemas/pay.transaction.json b/lib/schemas/pay.transaction.json index 55dcce5..6a762ea 100644 --- a/lib/schemas/pay.transaction.json +++ b/lib/schemas/pay.transaction.json @@ -7,8 +7,11 @@ "gen": { "type": "string" }, + "close": { + "$ref": "http://algo-models.com/schemas/bytes32.json" + }, "gh": { - "$ref": "bytes32.json" + "$ref": "http://algo-models.com/schemas/bytes32.json" }, "type": { "type": "string", @@ -21,10 +24,10 @@ "type": "integer" }, "snd": { - "$ref": "bytes32.json" + "$ref": "http://algo-models.com/schemas/bytes32.json" }, "rcv": { - "$ref": "bytes32.json" + "$ref": "http://algo-models.com/schemas/bytes32.json" }, "fv": { "type": "integer", @@ -36,7 +39,6 @@ } }, "required": [ - "gen", "gh", "type", "fee",