• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: 提交

Golang implemented sidechain for Bytom


Commit MetaInfo

修订版a8e8497a4c134ec83d0195d5cc2ed399ba4ced7e (tree)
时间2020-03-23 21:25:21
作者oys <oys@oysd...>
Commiteroys

Log Message

modify

更改概述

差异

--- a/config/genesis.go
+++ b/config/genesis.go
@@ -24,8 +24,7 @@ var FedAddressPath = [][]byte{
2424
2525 func FederationPMultiSigScript(c *Config) []byte {
2626 xpubs := c.Federation.Xpubs
27- derivedXPubs := chainkd.DeriveXPubs(xpubs, FedAddressPath)
28- program, err := vmutil.P2SPMultiSigProgram(chainkd.XPubKeys(derivedXPubs), c.Federation.Quorum)
27+ program, err := vmutil.P2SPMultiSigProgram(chainkd.XPubKeys(xpubs), c.Federation.Quorum)
2928 if err != nil {
3029 log.Panicf("fail to generate federation scirpt for federation: %v", err)
3130 }
Show on old repository browser