mirror of
https://github.com/status-im/status-go.git
synced 2025-02-08 12:54:37 +00:00
We need to be able to sign more than just transactions to make DApps work properly. This change separates signing requests from the transactions and make it more general to prepare to intoduce different types of signing requests. This change is designed to preserve status APIs, so it is backward-comparible with the current API bindings.
10 lines
182 B
Go
10 lines
182 B
Go
package sign
|
|
|
|
import "github.com/ethereum/go-ethereum/common"
|
|
|
|
// Result is a result of a signing request, error or successful
|
|
type Result struct {
|
|
Hash common.Hash
|
|
Error error
|
|
}
|