utils

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2016 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindWinner

func FindWinner(transactions []models.Transaction, hash string) string

FindWinner finds out the winner address from transactions and block hash

func Must

func Must(i interface{}, err error) interface{}

Must is a util that help with fail fast

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL