Revert "Undo last two commits"

This reverts commit d1fc37ff9e.
This commit is contained in:
Ethan Buchman
2017-04-11 15:44:36 -04:00
parent d1fc37ff9e
commit ac86e664c7
7 changed files with 105 additions and 96 deletions
+3 -1
View File
@@ -37,7 +37,9 @@ func main() {
for i := 0; ; i++ {
binary.BigEndian.PutUint64(buf, uint64(i))
//txBytes := hex.EncodeToString(buf[:n])
request := rpctypes.NewRPCRequest("fakeid", "broadcast_tx", Arr(buf[:8]))
request := rpctypes.NewRPCRequest("fakeid",
"broadcast_tx",
map[string]interface{}{"tx": buf[:8]})
reqBytes := wire.JSONBytes(request)
//fmt.Println("!!", string(reqBytes))
fmt.Print(".")