Minor updates to the new filter

This commit is contained in:
obscuren 2014-09-14 12:02:08 +02:00
parent 91ca5d724e
commit ddefa11695
3 changed files with 12 additions and 9 deletions

View File

@ -180,6 +180,8 @@ Rectangle {
txResult.text = "Your transaction has been submitted:\n" txResult.text = "Your transaction has been submitted:\n"
txOutput.text = res[0].address txOutput.text = res[0].address
mainContractColumn.state = "DONE" mainContractColumn.state = "DONE"
console.log(res)
} }
} }
} }

View File

@ -76,7 +76,7 @@ ApplicationWindow {
return views.view return views.view
} catch(e) { } catch(e) {
eth.note(e) ethx.note(e)
} }
} }

View File

@ -13,7 +13,6 @@ import (
"strconv" "strconv"
"strings" "strings"
"time" "time"
"unsafe"
"bitbucket.org/binet/go-ffi/pkg/ffi" "bitbucket.org/binet/go-ffi/pkg/ffi"
"github.com/ethereum/eth-go" "github.com/ethereum/eth-go"
@ -119,13 +118,15 @@ func (gui *Gui) Start(assetPath string) {
context.SetVar("gui", gui) context.SetVar("gui", gui)
context.SetVar("eth", gui.uiLib) context.SetVar("eth", gui.uiLib)
vec, errr := LoadExtension("/Users/jeffrey/Desktop/build-libqmltest-Desktop_Qt_5_2_1_clang_64bit-Debug/liblibqmltest_debug.dylib") /*
fmt.Printf("Fetched vec with addr: %#x\n", vec) vec, errr := LoadExtension("/Users/jeffrey/Desktop/build-libqmltest-Desktop_Qt_5_2_1_clang_64bit-Debug/liblibqmltest_debug.dylib")
if errr != nil { fmt.Printf("Fetched vec with addr: %#x\n", vec)
fmt.Println(errr) if errr != nil {
} else { fmt.Println(errr)
context.SetVar("vec", (unsafe.Pointer)(vec)) } else {
} context.SetVar("vec", (unsafe.Pointer)(vec))
}
*/
// Load the main QML interface // Load the main QML interface
data, _ := ethutil.Config.Db.Get([]byte("KeyRing")) data, _ := ethutil.Config.Db.Get([]byte("KeyRing"))