mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 12:44:19 +01:00
Vars and fields renaming (#387)
* Rename asp > server * Rename pool > round * Consolidate naming for pubkey/prvkey vars and types * Fix * Fix * Fix wasm * Rename congestionTree > vtxoTree * Fix wasm * Rename payment > request * Rename congestionTree > vtxoTree after syncing with master * Fix Send API in SDK * Fix wasm * Fix wasm * Fixes * Fixes after review * Fix * Fix naming * Fix * Fix e2e tests
This commit is contained in:
committed by
GitHub
parent
12d666bfdf
commit
7f937e8418
@@ -7,14 +7,14 @@ import (
|
||||
"github.com/vulpemventures/go-elements/psetv2"
|
||||
)
|
||||
|
||||
func ValidateConnectors(poolTx string, connectors []string) error {
|
||||
ptx, err := psetv2.NewPsetFromBase64(poolTx)
|
||||
func ValidateConnectors(roundTx string, connectors []string) error {
|
||||
ptx, err := psetv2.NewPsetFromBase64(roundTx)
|
||||
if err != nil {
|
||||
return fmt.Errorf("invalid pool tx: %s", err)
|
||||
return fmt.Errorf("invalid round tx: %s", err)
|
||||
}
|
||||
utx, err := ptx.UnsignedTx()
|
||||
if err != nil {
|
||||
return fmt.Errorf("invalid pool tx: %s", err)
|
||||
return fmt.Errorf("invalid round tx: %s", err)
|
||||
}
|
||||
prevConnectorTxid := utx.TxHash().String()
|
||||
prevConnectorVout := uint32(1)
|
||||
|
||||
Reference in New Issue
Block a user