mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 20:47:16 +00:00
726ed8462d
Setup calls for rpc testing - Added call requests for testing rpc calls - Added new methods getBalance and txPool content
14 lines
291 B
Go
14 lines
291 B
Go
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/ledgerwatch/erigon/cmd/devnet/models"
|
|
"github.com/ledgerwatch/erigon/cmd/devnet/requests"
|
|
)
|
|
|
|
func callTxPoolContent() {
|
|
if err := requests.TxpoolContent(models.ReqId); err != nil {
|
|
fmt.Printf("error getting txpool content: %v\n", err)
|
|
}
|
|
}
|