This commit is contained in:
parent
6eb7edb0bc
commit
35b41e9606
1 changed files with 3 additions and 7 deletions
10
src/api.ml
10
src/api.ml
|
|
@ -1075,15 +1075,11 @@ module AccountLimit = struct
|
||||||
|> finish
|
|> finish
|
||||||
end
|
end
|
||||||
|
|
||||||
module ZeroLimitedOperation = struct
|
module ZeroLimitedOperation = struct
|
||||||
type t = {
|
type t = { operation_type: Account_operation.t }
|
||||||
operation_type: Account_operation.t;
|
|
||||||
}
|
|
||||||
|
|
||||||
let jsont =
|
let jsont =
|
||||||
let make operation_type=
|
let make operation_type = { operation_type } in
|
||||||
{ operation_type}
|
|
||||||
in
|
|
||||||
let operation_type v = v.operation_type in
|
let operation_type v = v.operation_type in
|
||||||
let open Jsont.Object in
|
let open Jsont.Object in
|
||||||
map ~kind:"ZeroLimitedOperation" make
|
map ~kind:"ZeroLimitedOperation" make
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue