From cfa5e2b6e372b9f5101565eba2272e7d2f69d98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cidre?= Date: Wed, 6 Jun 2018 18:32:55 +0200 Subject: [PATCH] Expose gas and gasInfo on ApproveSignRequestWithArgs as long not int (#1010) --- lib/library.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/library.go b/lib/library.go index 1d500f03c..58183c4dd 100644 --- a/lib/library.go +++ b/lib/library.go @@ -211,7 +211,7 @@ func Logout() *C.char { // gas and gasPrice will be overrided with the given values before signing the // transaction. //export ApproveSignRequestWithArgs -func ApproveSignRequestWithArgs(id, password *C.char, gas, gasPrice C.int) *C.char { +func ApproveSignRequestWithArgs(id, password *C.char, gas, gasPrice C.longlong) *C.char { result := statusAPI.ApproveSignRequestWithArgs(C.GoString(id), C.GoString(password), int64(gas), int64(gasPrice)) return prepareApproveSignRequestResponse(result, id)