File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ defmodule EOSRPC.History do
1818 Retrieve a transaction from the blockchain.
1919 """
2020 def get_transaction ( transaction_id ) do
21- "/get_transaction" |> url ( ) |> post_request ( % { id: transaction_id } )
21+ "/get_transaction" |> url ( ) |> post ( % { id: transaction_id } )
2222 end
2323
2424 def get_transaction! ( transaction_id ) do
@@ -31,11 +31,11 @@ defmodule EOSRPC.History do
3131 def get_actions ( account_name , pos \\ 0 , offset \\ 100 ) do
3232 "/get_actions"
3333 |> url ( )
34- |> post_request ( % { account_name: account_name , pos: pos , offset: offset } )
34+ |> post ( % { account_name: account_name , pos: pos , offset: offset } )
3535 end
3636
3737 def get_actions! ( account_name , pos \\ 0 , offset \\ 100 ) do
38- unwrap_or_raise ( get_actions ( account , pos , offset ) )
38+ unwrap_or_raise ( get_actions ( account_name , pos , offset ) )
3939 end
4040
4141 @ doc """
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ defmodule EOSRPC.Wallet do
129129 |> post ( [ transaction , keys , chain_id ] )
130130 end
131131 def sign_transaction! ( transaction , keys , chain_id ) do
132- unwrap_or_raise ( sign_transaction ( transaction , key , chain_id ) )
132+ unwrap_or_raise ( sign_transaction ( transaction , keys , chain_id ) )
133133 end
134134
135135 def url ( url ) ,
You can’t perform that action at this time.
0 commit comments